From 48a53f1d246fbced4c45ed711a9c8cedaa7f2eca Mon Sep 17 00:00:00 2001 From: Yew JS Date: Wed, 13 Jul 2016 14:12:32 +0800 Subject: [PATCH] Update Dockerfile-70 install libJPEG and enabled in GD --- php-fpm/Dockerfile-70 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php-fpm/Dockerfile-70 b/php-fpm/Dockerfile-70 index 17c1e3f2..34356bed 100644 --- a/php-fpm/Dockerfile-70 +++ b/php-fpm/Dockerfile-70 @@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \ libpq-dev \ libmemcached-dev \ curl \ + libjpeg-dev \ libpng12-dev \ libfreetype6-dev \ libssl-dev \ @@ -25,6 +26,7 @@ RUN pecl install mongodb # configure gd library RUN docker-php-ext-configure gd \ --enable-gd-native-ttf \ + --with-jpeg-dir=/usr/lib \ --with-freetype-dir=/usr/include/freetype2 # Install extensions using the helper script provided by the base image