add memcached support for PHP 5.5 & 5.6
This commit is contained in:
parent
405067d4af
commit
fdba7e7c09
|
@ -7,6 +7,7 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
|
||||||
|
|
||||||
RUN apt-get update && apt-get install \
|
RUN apt-get update && apt-get install \
|
||||||
libpq-dev -y \
|
libpq-dev -y \
|
||||||
|
libmemcached-dev \
|
||||||
curl
|
curl
|
||||||
|
|
||||||
# Install extensions using the helper script provided by the base image
|
# Install extensions using the helper script provided by the base image
|
||||||
|
@ -14,6 +15,10 @@ RUN docker-php-ext-install \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql
|
pdo_pgsql
|
||||||
|
|
||||||
|
#Install memcached
|
||||||
|
RUN pecl install memcached \
|
||||||
|
&& docker-php-ext-enable memcached
|
||||||
|
|
||||||
RUN usermod -u 1000 www-data
|
RUN usermod -u 1000 www-data
|
||||||
|
|
||||||
WORKDIR /var/www/laravel
|
WORKDIR /var/www/laravel
|
||||||
|
|
|
@ -7,6 +7,7 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
|
||||||
|
|
||||||
RUN apt-get update && apt-get install \
|
RUN apt-get update && apt-get install \
|
||||||
libpq-dev -y \
|
libpq-dev -y \
|
||||||
|
libmemcached-dev \
|
||||||
curl
|
curl
|
||||||
|
|
||||||
# Install extensions using the helper script provided by the base image
|
# Install extensions using the helper script provided by the base image
|
||||||
|
@ -14,6 +15,10 @@ RUN docker-php-ext-install \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql
|
pdo_pgsql
|
||||||
|
|
||||||
|
#Install memcached
|
||||||
|
RUN pecl install memcached \
|
||||||
|
&& docker-php-ext-enable memcached
|
||||||
|
|
||||||
RUN usermod -u 1000 www-data
|
RUN usermod -u 1000 www-data
|
||||||
|
|
||||||
WORKDIR /var/www/laravel
|
WORKDIR /var/www/laravel
|
||||||
|
|
Loading…
Reference in New Issue