Skip to content

Commit ffaf282

Browse files
authored
Merge pull request #39 from hareku/fix-7.4-gd
Fix gd configure options for 7.4
2 parents 92b0de1 + ee79ded commit ffaf282

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)