diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index e7332a5..40d97e9 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -52,6 +52,7 @@ RUN set -ex; \ memcached \ redis \ ; \ + rm -r /tmp/pear; \ \ runDeps="$( \ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index cbf1055..b045d4a 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -47,6 +47,7 @@ RUN set -ex; \ memcached \ 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; \ diff --git a/php7.3/apache/Dockerfile b/php7.3/apache/Dockerfile index f0ea4fb..0d0ef8b 100644 --- a/php7.3/apache/Dockerfile +++ b/php7.3/apache/Dockerfile @@ -43,13 +43,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.20; \ pecl install memcached-3.1.5; \ - pecl install redis-5.3.3; \ + pecl install redis-5.3.4; \ \ docker-php-ext-enable \ apcu \ memcached \ 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; \ diff --git a/php7.3/fpm-alpine/Dockerfile b/php7.3/fpm-alpine/Dockerfile index 81df234..16fba8e 100644 --- a/php7.3/fpm-alpine/Dockerfile +++ b/php7.3/fpm-alpine/Dockerfile @@ -42,9 +42,9 @@ 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.20; \ - pecl install mcrypt-1.0.3; \ + pecl install mcrypt-1.0.4; \ pecl install memcached-3.1.5; \ - pecl install redis-5.3.3; \ + pecl install redis-5.3.4; \ \ docker-php-ext-enable \ apcu \ @@ -52,6 +52,7 @@ RUN set -ex; \ memcached \ redis \ ; \ + rm -r /tmp/pear; \ \ runDeps="$( \ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \ diff --git a/php7.3/fpm/Dockerfile b/php7.3/fpm/Dockerfile index baeda7b..93c75c2 100644 --- a/php7.3/fpm/Dockerfile +++ b/php7.3/fpm/Dockerfile @@ -40,13 +40,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.20; \ pecl install memcached-3.1.5; \ - pecl install redis-5.3.3; \ + pecl install redis-5.3.4; \ \ docker-php-ext-enable \ apcu \ memcached \ 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; \ diff --git a/php7.4/apache/Dockerfile b/php7.4/apache/Dockerfile index 9806c16..efc9937 100644 --- a/php7.4/apache/Dockerfile +++ b/php7.4/apache/Dockerfile @@ -43,13 +43,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.20; \ pecl install memcached-3.1.5; \ - pecl install redis-5.3.3; \ + pecl install redis-5.3.4; \ \ docker-php-ext-enable \ apcu \ memcached \ 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; \ diff --git a/php7.4/fpm-alpine/Dockerfile b/php7.4/fpm-alpine/Dockerfile index b9685c8..e172b2d 100644 --- a/php7.4/fpm-alpine/Dockerfile +++ b/php7.4/fpm-alpine/Dockerfile @@ -42,9 +42,9 @@ 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.20; \ - pecl install mcrypt-1.0.3; \ + pecl install mcrypt-1.0.4; \ pecl install memcached-3.1.5; \ - pecl install redis-5.3.3; \ + pecl install redis-5.3.4; \ \ docker-php-ext-enable \ apcu \ @@ -52,6 +52,7 @@ RUN set -ex; \ memcached \ redis \ ; \ + rm -r /tmp/pear; \ \ runDeps="$( \ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \ diff --git a/php7.4/fpm/Dockerfile b/php7.4/fpm/Dockerfile index dbfe76c..2043680 100644 --- a/php7.4/fpm/Dockerfile +++ b/php7.4/fpm/Dockerfile @@ -40,13 +40,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.20; \ pecl install memcached-3.1.5; \ - pecl install redis-5.3.3; \ + pecl install redis-5.3.4; \ \ docker-php-ext-enable \ apcu \ memcached \ 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; \ diff --git a/update.sh b/update.sh index e7f60d2..cf46b71 100755 --- a/update.sh +++ b/update.sh @@ -31,8 +31,8 @@ declare -A variantBases=( declare -A pecl_versions=( [php7-APCu]='5.1.20' [php7-memcached]='3.1.5' - [php7-redis]='5.3.3' - [php7-mcrypt]='1.0.3' + [php7-redis]='5.3.4' + [php7-mcrypt]='1.0.4' ) for phpVersion in "${phpVersions[@]}"; do