Skip to content

Commit

Permalink
Update APCu, redis and cleanup installer cache (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
J0WI committed Mar 24, 2021
1 parent 63bc1cf commit 56ea9f5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
5 changes: 3 additions & 2 deletions Dockerfile-alpine.template
Expand Up @@ -28,13 +28,14 @@ RUN set -ex; \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.19; \
pecl install redis-5.3.2; \
pecl install APCu-5.1.20; \
pecl install redis-5.3.4; \
\
docker-php-ext-enable \
apcu \
redis \
; \
rm -r /tmp/pear; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile-debian.template
Expand Up @@ -28,13 +28,14 @@ RUN set -ex; \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.19; \
pecl install redis-5.3.2; \
pecl install APCu-5.1.20; \
pecl install redis-5.3.4; \
\
docker-php-ext-enable \
apcu \
redis \
; \
rm -r /tmp/pear; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
Expand Down
5 changes: 3 additions & 2 deletions apache/Dockerfile
Expand Up @@ -28,13 +28,14 @@ RUN set -ex; \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.19; \
pecl install redis-5.3.2; \
pecl install APCu-5.1.20; \
pecl install redis-5.3.4; \
\
docker-php-ext-enable \
apcu \
redis \
; \
rm -r /tmp/pear; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
Expand Down
5 changes: 3 additions & 2 deletions fpm-alpine/Dockerfile
Expand Up @@ -28,13 +28,14 @@ RUN set -ex; \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.19; \
pecl install redis-5.3.2; \
pecl install APCu-5.1.20; \
pecl install redis-5.3.4; \
\
docker-php-ext-enable \
apcu \
redis \
; \
rm -r /tmp/pear; \
\
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
Expand Down
5 changes: 3 additions & 2 deletions fpm/Dockerfile
Expand Up @@ -28,13 +28,14 @@ RUN set -ex; \
; \
\
# pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.19; \
pecl install redis-5.3.2; \
pecl install APCu-5.1.20; \
pecl install redis-5.3.4; \
\
docker-php-ext-enable \
apcu \
redis \
; \
rm -r /tmp/pear; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
Expand Down

0 comments on commit 56ea9f5

Please sign in to comment.