diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a68e65f --- /dev/null +++ b/Dockerfile @@ -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