From 16b82d066e5ba7ccd47fef715d377a9a64d854f2 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 14 Jul 2016 09:56:05 +0800 Subject: [PATCH] #140 update php 5.5 and 5.6 Signed-off-by: Bo-Yi Wu --- php-fpm/Dockerfile-55 | 2 ++ php-fpm/Dockerfile-56 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/php-fpm/Dockerfile-55 b/php-fpm/Dockerfile-55 index 977f2538..922cfad0 100644 --- a/php-fpm/Dockerfile-55 +++ b/php-fpm/Dockerfile-55 @@ -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 diff --git a/php-fpm/Dockerfile-56 b/php-fpm/Dockerfile-56 index da7de7af..a725797c 100644 --- a/php-fpm/Dockerfile-56 +++ b/php-fpm/Dockerfile-56 @@ -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