Skip to content

Commit df3c4dc

Browse files
authored
Merge pull request #81 from burningmantech/yf-gd
GD was incorrectly configured.
2 parents c7efbcc + 586136b commit df3c4dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ RUN apk add --no-cache \
2727
pcre-dev ${PHPIZE_DEPS} \
2828
&& cd /tmp && git clone https://github.com/Imagick/imagick.git \
2929
&& MAKEFLAGS="-j $(nproc)" pecl install /tmp/imagick/package.xml \
30-
--with-webp=/usr/include/ \
31-
--with-jpeg=/usr/include/ \
3230
&& docker-php-ext-configure opcache --enable-opcache \
3331
&& docker-php-ext-configure intl \
3432
&& docker-php-ext-configure exif \
@@ -46,7 +44,9 @@ RUN apk add --no-cache \
4644
&& docker-php-ext-install pcntl \
4745
&& docker-php-ext-enable imagick \
4846
&& docker-php-ext-configure gd \
49-
&& apk del \
47+
--with-jpeg=/usr/include/ \
48+
--with-webp=/usr/include/ \
49+
&& apk del \
5050
icu-dev \
5151
imagemagick-dev \
5252
libjpeg-turbo-dev \

0 commit comments

Comments
 (0)