From 3b8aa7062abebcbb2f71ca3e8d4d85030a19b4f9 Mon Sep 17 00:00:00 2001 From: J0WI Date: Fri, 1 Jun 2018 14:00:10 +0200 Subject: Do "pecl install" in series so it fails properly --- Dockerfile-debian.template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Dockerfile-debian.template') diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index b2e2c7c1..ff0785b3 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -49,11 +49,12 @@ RUN set -ex; \ pdo_pgsql \ zip \ ; \ - pecl install \ - APCu-%%APCU_VERSION%% \ - memcached-%%MEMCACHED_VERSION%% \ - redis-%%REDIS_VERSION%% \ - ; \ + \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-%%APCU_VERSION%%; \ + pecl install memcached-%%MEMCACHED_VERSION%%; \ + pecl install redis-%%REDIS_VERSION%%; \ + \ docker-php-ext-enable \ apcu \ memcached \ -- cgit v1.2.3