From 0d2782a6786ce47f82fc58e615dce8633c1491e6 Mon Sep 17 00:00:00 2001 From: Lialosiu Date: Wed, 3 Aug 2016 18:12:10 +0800 Subject: [PATCH] configure GD first and then install --- Dockerfile-70 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile-70 b/Dockerfile-70 index 3525b63..50082f3 100644 --- a/Dockerfile-70 +++ b/Dockerfile-70 @@ -44,11 +44,11 @@ RUN docker-php-ext-install pdo_pgsql ##################################### # Install the PHP gd library -RUN docker-php-ext-install gd && \ - docker-php-ext-configure gd \ +RUN docker-php-ext-configure gd \ --enable-gd-native-ttf \ --with-jpeg-dir=/usr/lib \ - --with-freetype-dir=/usr/include/freetype2 + --with-freetype-dir=/usr/include/freetype2 && \ + docker-php-ext-install gd ##################################### # Memcached: