From cdaa344321e33bd92ec671274340b982ba38c014 Mon Sep 17 00:00:00 2001 From: alchimik Date: Tue, 21 Feb 2017 23:23:30 +0800 Subject: [PATCH 1/2] Fixed memcached for php5.6 (#624) ``` Step 15/32 : RUN if [ ${INSTALL_MEMCACHED} = true ]; then pecl install memcached && docker-php-ext-enable memcached ;fi ---> Running in b43e2e6b07f6 pecl/memcached requires PHP (version >= 7.0.0), installed version is 5.6.24 pecl/memcached can optionally use PHP extension "igbinary" (version >= 2.0) pecl/memcached can optionally use PHP extension "msgpack" (version >= 2.0) No valid packages found install failed ERROR: Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_MEMCACHED} = true ]; then pecl install memcached && docker-php-ext-enable memcached ;fi' returned a non-zero code: 1 ``` --- php-fpm/Dockerfile-56 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile-56 b/php-fpm/Dockerfile-56 index 5cdb9200..0f7e0661 100644 --- a/php-fpm/Dockerfile-56 +++ b/php-fpm/Dockerfile-56 @@ -101,7 +101,7 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \ ARG INSTALL_MEMCACHED=false RUN if [ ${INSTALL_MEMCACHED} = true ]; then \ # Install the php memcached extension - pecl install memcached && \ + pecl install memcached-2.2.0 && \ docker-php-ext-enable memcached \ ;fi From 770a9779ca70f115a61654eeace7ef4a928c6dbd Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Tue, 21 Feb 2017 10:26:56 -0500 Subject: [PATCH 2/2] Fix Caddy volumes to persist SSL (#613) I'm blaming commit https://github.com/laradock/laradock/commit/380eef5fd954f3066ad0df6a6e613302ba0edf1a for breaking this functionality. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index d96bd67c..67af2244 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -287,6 +287,7 @@ services: volumes: - ./caddy/Caddyfile:/etc/Caddyfile - ./logs/caddy:/var/log/caddy + - caddy:/root/.caddy links: - php-fpm