summaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian.template
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2018-06-01 14:00:10 +0200
committerTilo Spannagel <development@tilosp.de>2018-06-01 21:06:51 +0200
commit3b8aa7062abebcbb2f71ca3e8d4d85030a19b4f9 (patch)
treec4c58dd32ebb9d18f6285de94225c228728a25ff /Dockerfile-debian.template
parentcbd5bd17bc5ed46133f3bdf661e899777875c377 (diff)
Do "pecl install" in series so it fails properly
Diffstat (limited to 'Dockerfile-debian.template')
-rw-r--r--Dockerfile-debian.template11
1 files changed, 6 insertions, 5 deletions
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 \