Merge pull request #47 from mattythebatty/php-5-memcached

Add memcached support for PHP 5.5 & 5.6
This commit is contained in:
Mahmoud Zalt 2016-05-14 19:47:37 +03:00
commit 03c991c89d
2 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,7 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install \
libpq-dev -y \
libmemcached-dev \
curl
# Install extensions using the helper script provided by the base image
@ -14,6 +15,10 @@ RUN docker-php-ext-install \
pdo_mysql \
pdo_pgsql
#Install memcached
RUN pecl install memcached \
&& docker-php-ext-enable memcached
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel

View File

@ -7,6 +7,7 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install \
libpq-dev -y \
libmemcached-dev \
curl
# Install extensions using the helper script provided by the base image
@ -14,6 +15,10 @@ RUN docker-php-ext-install \
pdo_mysql \
pdo_pgsql
#Install memcached
RUN pecl install memcached \
&& docker-php-ext-enable memcached
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel