Created
February 21, 2016 02:44
-
-
Save chadothompson/194ab0d1a52829e9b5c7 to your computer and use it in GitHub Desktop.
Building a PHP 7 Docker Container With Memcachd Support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.0-fpm | |
RUN apt-get update && \ | |
apt-get install -y git \ | |
zlib1g-dev \ | |
libmemcached-dev | |
RUN git clone https://github.com/php-memcached-dev/php-memcached /usr/src/php/ext/memcached && \ | |
cd /usr/src/php/ext/memcached && git checkout -b php7 origin/php7 && \ | |
docker-php-ext-configure memcached && \ | |
docker-php-ext-install memcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment