From 586136bd32f14fe7082562835757142235ca2a30 Mon Sep 17 00:00:00 2001 From: mikeburg Date: Tue, 24 Dec 2024 08:45:05 -0800 Subject: [PATCH] GD was incorrectly configured. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6183829..d79aa00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,8 +27,6 @@ RUN apk add --no-cache \ pcre-dev ${PHPIZE_DEPS} \ && cd /tmp && git clone https://github.com/Imagick/imagick.git \ && MAKEFLAGS="-j $(nproc)" pecl install /tmp/imagick/package.xml \ - --with-webp=/usr/include/ \ - --with-jpeg=/usr/include/ \ && docker-php-ext-configure opcache --enable-opcache \ && docker-php-ext-configure intl \ && docker-php-ext-configure exif \ @@ -46,7 +44,9 @@ RUN apk add --no-cache \ && docker-php-ext-install pcntl \ && docker-php-ext-enable imagick \ && docker-php-ext-configure gd \ - && apk del \ + --with-jpeg=/usr/include/ \ + --with-webp=/usr/include/ \ + && apk del \ icu-dev \ imagemagick-dev \ libjpeg-turbo-dev \