Skip to content

Commit a4162bb

Browse files
committed
Adding fix for GD build due to PHP 7.4 changes
1 parent a4503e9 commit a4162bb

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,11 @@ RUN apk add --no-cache \
126126
libxpm-dev \
127127
freetype-dev \
128128
&& docker-php-ext-configure gd \
129-
--with-gd \
130-
--with-webp-dir=/usr \
131-
--with-jpeg-dir=/usr \
132-
--with-png-dir=/usr \
133-
--with-zlib-dir=/usr \
134-
--with-xpm-dir=/usr \
135-
--with-freetype-dir=/usr \
129+
--enable-gd \
130+
--with-webp=/usr \
131+
--with-jpeg=/usr \
132+
--with-xpm=/usr \
133+
--with-freetype \
136134
--enable-gd-jis-conv \
137135
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \
138136
&& (rm -rf /usr/local/lib/php/test/gd || true) \

0 commit comments

Comments
 (0)