diff --git a/php/Dockerfile-php-55 b/php/Dockerfile-php-55 index b8f69b2d..4c2a7732 100644 --- a/php/Dockerfile-php-55 +++ b/php/Dockerfile-php-55 @@ -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 diff --git a/php/Dockerfile-php-56 b/php/Dockerfile-php-56 index b43fe415..baa26a7c 100644 --- a/php/Dockerfile-php-56 +++ b/php/Dockerfile-php-56 @@ -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