Merge pull request #144 from appleboy/patch-7
#140 update php 5.5 and 5.6
This commit is contained in:
commit
06337e6024
@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libpq-dev \
|
libpq-dev \
|
||||||
libmemcached-dev \
|
libmemcached-dev \
|
||||||
curl \
|
curl \
|
||||||
|
libjpeg-dev \
|
||||||
libpng12-dev \
|
libpng12-dev \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@ -25,6 +26,7 @@ RUN pecl install mongodb
|
|||||||
# configure gd library
|
# configure gd library
|
||||||
RUN docker-php-ext-configure gd \
|
RUN docker-php-ext-configure gd \
|
||||||
--enable-gd-native-ttf \
|
--enable-gd-native-ttf \
|
||||||
|
--with-jpeg-dir=/usr/lib \
|
||||||
--with-freetype-dir=/usr/include/freetype2
|
--with-freetype-dir=/usr/include/freetype2
|
||||||
|
|
||||||
# Install extensions using the helper script provided by the base image
|
# Install extensions using the helper script provided by the base image
|
||||||
|
@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libpq-dev \
|
libpq-dev \
|
||||||
libmemcached-dev \
|
libmemcached-dev \
|
||||||
curl \
|
curl \
|
||||||
|
libjpeg-dev \
|
||||||
libpng12-dev \
|
libpng12-dev \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@ -25,6 +26,7 @@ RUN pecl install mongodb
|
|||||||
# configure gd library
|
# configure gd library
|
||||||
RUN docker-php-ext-configure gd \
|
RUN docker-php-ext-configure gd \
|
||||||
--enable-gd-native-ttf \
|
--enable-gd-native-ttf \
|
||||||
|
--with-jpeg-dir=/usr/lib \
|
||||||
--with-freetype-dir=/usr/include/freetype2
|
--with-freetype-dir=/usr/include/freetype2
|
||||||
|
|
||||||
# Install extensions using the helper script provided by the base image
|
# Install extensions using the helper script provided by the base image
|
||||||
|
Loading…
Reference in New Issue
Block a user