Skip to content

Commit 5a725f5

Browse files
authored
Merge pull request #2 from lialosiu/master
fixed GD with JPEG support.
2 parents 9ccfedc + 0d2782a commit 5a725f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile-70

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ RUN docker-php-ext-install pdo_pgsql
4444
#####################################
4545

4646
# Install the PHP gd library
47-
RUN docker-php-ext-install gd && \
48-
docker-php-ext-configure gd \
47+
RUN docker-php-ext-configure gd \
4948
--enable-gd-native-ttf \
5049
--with-jpeg-dir=/usr/lib \
51-
--with-freetype-dir=/usr/include/freetype2
50+
--with-freetype-dir=/usr/include/freetype2 && \
51+
docker-php-ext-install gd
5252

5353
#####################################
5454
# Memcached:

0 commit comments

Comments
 (0)