Skip to content

Commit ee79ded

Browse files
committed
Fix gd install options for 7.4
1 parent 92b0de1 commit ee79ded

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile-74

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN apt-get update && \
4141
&& docker-php-ext-install pdo_pgsql \
4242
# Install the PHP gd library
4343
&& docker-php-ext-configure gd \
44-
--with-jpeg-dir=/usr/lib \
45-
--with-freetype-dir=/usr/include/freetype2 && \
44+
--prefix=/usr \
45+
--with-jpeg \
46+
--with-freetype && \
4647
docker-php-ext-install gd

0 commit comments

Comments
 (0)