Do "pecl install" in series so it fails properly

This commit is contained in:
J0WI 2018-06-01 14:00:10 +02:00 committed by Tilo Spannagel
parent cbd5bd17bc
commit 3b8aa7062a
No known key found for this signature in database
GPG Key ID: B89F1626A58E1429
14 changed files with 84 additions and 70 deletions

View File

@ -50,11 +50,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -44,11 +44,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -50,11 +50,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -50,11 +50,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -44,11 +44,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -50,11 +50,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -50,11 +50,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -44,11 +44,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -50,11 +50,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -50,11 +50,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -44,11 +44,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -50,11 +50,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-5.1.11 \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-3.0.4 \ pecl install APCu-5.1.11; \
redis-3.1.6 \ pecl install memcached-3.0.4; \
; \ pecl install redis-3.1.6; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -43,11 +43,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-%%APCU_VERSION%% \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-%%MEMCACHED_VERSION%% \ pecl install APCu-%%APCU_VERSION%%; \
redis-%%REDIS_VERSION%% \ pecl install memcached-%%MEMCACHED_VERSION%%; \
; \ pecl install redis-%%REDIS_VERSION%%; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \

View File

@ -49,11 +49,12 @@ RUN set -ex; \
pdo_pgsql \ pdo_pgsql \
zip \ zip \
; \ ; \
pecl install \ \
APCu-%%APCU_VERSION%% \ # pecl will claim success even if one install fails, so we need to perform each install separately
memcached-%%MEMCACHED_VERSION%% \ pecl install APCu-%%APCU_VERSION%%; \
redis-%%REDIS_VERSION%% \ pecl install memcached-%%MEMCACHED_VERSION%%; \
; \ pecl install redis-%%REDIS_VERSION%%; \
\
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
memcached \ memcached \