diff --git a/php-worker/Dockerfile b/php-worker/Dockerfile index ee6d1890..8be39f89 100644 --- a/php-worker/Dockerfile +++ b/php-worker/Dockerfile @@ -87,7 +87,7 @@ ARG INSTALL_GD=false RUN if [ ${INSTALL_GD} = true ]; then \ apk add --update --no-cache freetype-dev libjpeg-turbo-dev jpeg-dev libpng-dev; \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ]; then \ - docker-php-ext-configure gd --with-freetype --with-jpeg --with-png; \ + docker-php-ext-configure gd --with-freetype --with-jpeg; \ else \ docker-php-ext-configure gd --with-freetype-dir=/usr/lib/ --with-jpeg-dir=/usr/lib/ --with-png-dir=/usr/lib/; \ fi; \