Skip to content

Commit 0e2232a

Browse files
authored
Merge pull request #82 from burningmantech/yf-gd-config
gd config is in the wrong place.
2 parents df3c4dc + f4822e1 commit 0e2232a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ RUN apk add --no-cache \
3030
&& docker-php-ext-configure opcache --enable-opcache \
3131
&& docker-php-ext-configure intl \
3232
&& docker-php-ext-configure exif \
33-
&& docker-php-ext-install -j$(nproc) \
33+
&& docker-php-ext-configure gd \
34+
--with-jpeg=/usr/include/ \
35+
--with-webp=/usr/include/ \
36+
&& docker-php-ext-install -j$(nproc) \
3437
exif \
3538
gd \
3639
intl \
@@ -43,9 +46,6 @@ RUN apk add --no-cache \
4346
&& docker-php-ext-configure pcntl --enable-pcntl \
4447
&& docker-php-ext-install pcntl \
4548
&& docker-php-ext-enable imagick \
46-
&& docker-php-ext-configure gd \
47-
--with-jpeg=/usr/include/ \
48-
--with-webp=/usr/include/ \
4949
&& apk del \
5050
icu-dev \
5151
imagemagick-dev \

0 commit comments

Comments
 (0)