diff --git a/php-fpm/Dockerfile-55 b/php-fpm/Dockerfile-55 index 977f253..922cfad 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 da7de7a..a725797 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