diff options
author | J0WI <J0WI@users.noreply.github.com> | 2018-06-01 14:00:10 +0200 |
---|---|---|
committer | Tilo Spannagel <development@tilosp.de> | 2018-06-01 21:06:51 +0200 |
commit | 3b8aa7062abebcbb2f71ca3e8d4d85030a19b4f9 (patch) | |
tree | c4c58dd32ebb9d18f6285de94225c228728a25ff /Dockerfile-alpine.template | |
parent | cbd5bd17bc5ed46133f3bdf661e899777875c377 (diff) |
Do "pecl install" in series so it fails properly
Diffstat (limited to 'Dockerfile-alpine.template')
-rw-r--r-- | Dockerfile-alpine.template | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 05cfc01b..392eb428 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -43,11 +43,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 \ |