diff --git a/src/8.4/fpm-alpine/Dockerfile b/src/8.4/fpm-alpine/Dockerfile index 3f29242..aeacc31 100644 --- a/src/8.4/fpm-alpine/Dockerfile +++ b/src/8.4/fpm-alpine/Dockerfile @@ -23,6 +23,8 @@ ENV PHP_POST_MAX_SIZE=60M ENV PHP_UPLOAD_MAX_FILESIZE=25M ENV PHP_SESS_GC_MAXLIFETIME=2592000 +COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ + RUN set -xe \ && apk update \ && apk add --no-cache --virtual .php-deps \ @@ -74,8 +76,7 @@ RUN set -xe \ docker-php-ext-install zip bcmath soap pcntl gmp && \ docker-php-ext-enable mailparse imap && \ - pecl install imagick && \ - docker-php-ext-enable imagick && \ + install-php-extensions Imagick/imagick@65e27f2bc0 && \ # SSH pecl install ssh2-$PECL_SSH2_RELEASE && \ diff --git a/src/8.4/fpm-alpine/hiqdev-docker-entrypoint b/src/8.4/fpm-alpine/hiqdev-docker-entrypoint index a403270..f760106 100755 --- a/src/8.4/fpm-alpine/hiqdev-docker-entrypoint +++ b/src/8.4/fpm-alpine/hiqdev-docker-entrypoint @@ -59,7 +59,7 @@ if [ "$ENV" != "prod" ]; then sed -i "s/xdebug.client_port\s*=\s*.*/xdebug.client_port=$XDEBUG_CLIENT_PORT/" /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini fi if [ -n "$XDEBUG_START_WITH_REQUEST" ]; then - echo "[ xdebug ] Set xdebug.remote_autostart to $XDEBUG_START_WITH_REQUEST" + echo "[ xdebug ] Set xdebug.start_with_request to $XDEBUG_START_WITH_REQUEST" sed -i "s/xdebug.start_with_request\s*=\s*.*/xdebug.start_with_request=$XDEBUG_START_WITH_REQUEST" /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini fi fi