#140 update php 5.5 and 5.6
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
68576f9022
commit
16b82d066e
@ -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