Skip to content

Commit

Permalink
Add imagick
Browse files Browse the repository at this point in the history
  • Loading branch information
paulandrieux authored Nov 18, 2019
1 parent 5bd4b92 commit 9d58e29
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM jakzal/phpqa:php7.3-alpine

RUN set -ex \
&& apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS imagemagick-dev libtool \
&& export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" \
&& pecl install imagick-3.4.3 \
&& docker-php-ext-enable imagick \
&& apk add --no-cache --virtual .imagick-runtime-deps imagemagick \
&& apk del .phpize-deps

0 comments on commit 9d58e29

Please sign in to comment.