From fbc7efa6b773f6625bb2cceb175447989bf9b0e3 Mon Sep 17 00:00:00 2001 From: J0WI Date: Fri, 1 Jun 2018 13:57:25 +0200 Subject: [PATCH] Do "pecl install" in series so it fails properly --- php5.6/apache/Dockerfile | 9 ++++----- php5.6/fpm-alpine/Dockerfile | 11 ++++++----- php5.6/fpm/Dockerfile | 9 ++++----- php7.0/apache/Dockerfile | 9 ++++----- php7.0/fpm-alpine/Dockerfile | 11 ++++++----- php7.0/fpm/Dockerfile | 9 ++++----- php7.1/apache/Dockerfile | 9 ++++----- php7.1/fpm-alpine/Dockerfile | 11 ++++++----- php7.1/fpm/Dockerfile | 9 ++++----- php7.2/apache/Dockerfile | 9 ++++----- php7.2/fpm-alpine/Dockerfile | 11 ++++++----- php7.2/fpm/Dockerfile | 9 ++++----- 12 files changed, 56 insertions(+), 60 deletions(-) diff --git a/php5.6/apache/Dockerfile b/php5.6/apache/Dockerfile index ab2ef0b..c502d6a 100644 --- a/php5.6/apache/Dockerfile +++ b/php5.6/apache/Dockerfile @@ -38,11 +38,10 @@ RUN set -ex; \ zip \ ; \ \ - pecl install \ - APCu-4.0.11 \ - memcached-2.2.0 \ - redis-3.1.6 \ - ; \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-4.0.11; \ + pecl install memcached-2.2.0; \ + pecl install redis-3.1.6; \ \ docker-php-ext-enable \ apcu \ diff --git a/php5.6/fpm-alpine/Dockerfile b/php5.6/fpm-alpine/Dockerfile index 480a2ef..b757828 100644 --- a/php5.6/fpm-alpine/Dockerfile +++ b/php5.6/fpm-alpine/Dockerfile @@ -37,11 +37,12 @@ RUN set -ex; \ pgsql \ zip \ ; \ - pecl install \ - APCu-4.0.11 \ - memcached-2.2.0 \ - redis-3.1.6 \ - ; \ + \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-4.0.11; \ + pecl install memcached-2.2.0; \ + pecl install redis-3.1.6; \ + \ docker-php-ext-enable \ apcu \ memcached \ diff --git a/php5.6/fpm/Dockerfile b/php5.6/fpm/Dockerfile index 1d13fad..b37bbc3 100644 --- a/php5.6/fpm/Dockerfile +++ b/php5.6/fpm/Dockerfile @@ -35,11 +35,10 @@ RUN set -ex; \ zip \ ; \ \ - pecl install \ - APCu-4.0.11 \ - memcached-2.2.0 \ - redis-3.1.6 \ - ; \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-4.0.11; \ + pecl install memcached-2.2.0; \ + pecl install redis-3.1.6; \ \ docker-php-ext-enable \ apcu \ diff --git a/php7.0/apache/Dockerfile b/php7.0/apache/Dockerfile index 52edc86..5127817 100644 --- a/php7.0/apache/Dockerfile +++ b/php7.0/apache/Dockerfile @@ -38,11 +38,10 @@ RUN set -ex; \ zip \ ; \ \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ \ docker-php-ext-enable \ apcu \ diff --git a/php7.0/fpm-alpine/Dockerfile b/php7.0/fpm-alpine/Dockerfile index 54f4231..04b8b73 100644 --- a/php7.0/fpm-alpine/Dockerfile +++ b/php7.0/fpm-alpine/Dockerfile @@ -37,11 +37,12 @@ RUN set -ex; \ pgsql \ zip \ ; \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ + \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ + \ docker-php-ext-enable \ apcu \ memcached \ diff --git a/php7.0/fpm/Dockerfile b/php7.0/fpm/Dockerfile index 97bad22..f19b075 100644 --- a/php7.0/fpm/Dockerfile +++ b/php7.0/fpm/Dockerfile @@ -35,11 +35,10 @@ RUN set -ex; \ zip \ ; \ \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ \ docker-php-ext-enable \ apcu \ diff --git a/php7.1/apache/Dockerfile b/php7.1/apache/Dockerfile index c669a53..f629b06 100644 --- a/php7.1/apache/Dockerfile +++ b/php7.1/apache/Dockerfile @@ -38,11 +38,10 @@ RUN set -ex; \ zip \ ; \ \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ \ docker-php-ext-enable \ apcu \ diff --git a/php7.1/fpm-alpine/Dockerfile b/php7.1/fpm-alpine/Dockerfile index 8465f2e..16f6497 100644 --- a/php7.1/fpm-alpine/Dockerfile +++ b/php7.1/fpm-alpine/Dockerfile @@ -37,11 +37,12 @@ RUN set -ex; \ pgsql \ zip \ ; \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ + \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ + \ docker-php-ext-enable \ apcu \ memcached \ diff --git a/php7.1/fpm/Dockerfile b/php7.1/fpm/Dockerfile index aa4cc0c..ee570d1 100644 --- a/php7.1/fpm/Dockerfile +++ b/php7.1/fpm/Dockerfile @@ -35,11 +35,10 @@ RUN set -ex; \ zip \ ; \ \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ \ docker-php-ext-enable \ apcu \ diff --git a/php7.2/apache/Dockerfile b/php7.2/apache/Dockerfile index 96cc7da..da65d5a 100644 --- a/php7.2/apache/Dockerfile +++ b/php7.2/apache/Dockerfile @@ -36,11 +36,10 @@ RUN set -ex; \ zip \ ; \ \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ \ docker-php-ext-enable \ apcu \ diff --git a/php7.2/fpm-alpine/Dockerfile b/php7.2/fpm-alpine/Dockerfile index 6e71d04..bce3438 100644 --- a/php7.2/fpm-alpine/Dockerfile +++ b/php7.2/fpm-alpine/Dockerfile @@ -35,11 +35,12 @@ RUN set -ex; \ pgsql \ zip \ ; \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ + \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ + \ docker-php-ext-enable \ apcu \ memcached \ diff --git a/php7.2/fpm/Dockerfile b/php7.2/fpm/Dockerfile index d0c406d..8bdfbfe 100644 --- a/php7.2/fpm/Dockerfile +++ b/php7.2/fpm/Dockerfile @@ -33,11 +33,10 @@ RUN set -ex; \ zip \ ; \ \ - pecl install \ - APCu-5.1.11 \ - memcached-3.0.4 \ - redis-3.1.6 \ - ; \ +# pecl will claim success even if one install fails, so we need to perform each install separately + pecl install APCu-5.1.11; \ + pecl install memcached-3.0.4; \ + pecl install redis-3.1.6; \ \ docker-php-ext-enable \ apcu \