Skip to content

Commit 06337e6

Browse files
authored
Merge pull request laradock#144 from appleboy/patch-7
laradock#140 update php 5.5 and 5.6
2 parents 074deec + 16b82d0 commit 06337e6

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

php-fpm/Dockerfile-55

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
99
libpq-dev \
1010
libmemcached-dev \
1111
curl \
12+
libjpeg-dev \
1213
libpng12-dev \
1314
libfreetype6-dev \
1415
libssl-dev \
@@ -25,6 +26,7 @@ RUN pecl install mongodb
2526
# configure gd library
2627
RUN docker-php-ext-configure gd \
2728
--enable-gd-native-ttf \
29+
--with-jpeg-dir=/usr/lib \
2830
--with-freetype-dir=/usr/include/freetype2
2931

3032
# Install extensions using the helper script provided by the base image

php-fpm/Dockerfile-56

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
99
libpq-dev \
1010
libmemcached-dev \
1111
curl \
12+
libjpeg-dev \
1213
libpng12-dev \
1314
libfreetype6-dev \
1415
libssl-dev \
@@ -25,6 +26,7 @@ RUN pecl install mongodb
2526
# configure gd library
2627
RUN docker-php-ext-configure gd \
2728
--enable-gd-native-ttf \
29+
--with-jpeg-dir=/usr/lib \
2830
--with-freetype-dir=/usr/include/freetype2
2931

3032
# Install extensions using the helper script provided by the base image

0 commit comments

Comments
 (0)