diff --git a/19.0/apache/Dockerfile b/19.0/apache/Dockerfile index 230b2a31..392630ca 100644 --- a/19.0/apache/Dockerfile +++ b/19.0/apache/Dockerfile @@ -60,7 +60,7 @@ 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.18; \ pecl install memcached-3.1.5; \ - pecl install redis-4.3.0; \ + pecl install redis-5.2.2; \ pecl install imagick-3.4.4; \ \ docker-php-ext-enable \ diff --git a/19.0/fpm-alpine/Dockerfile b/19.0/fpm-alpine/Dockerfile index dba6f693..d8b72154 100644 --- a/19.0/fpm-alpine/Dockerfile +++ b/19.0/fpm-alpine/Dockerfile @@ -54,7 +54,7 @@ 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.18; \ pecl install memcached-3.1.5; \ - pecl install redis-4.3.0; \ + pecl install redis-5.2.2; \ pecl install imagick-3.4.4; \ \ docker-php-ext-enable \ diff --git a/19.0/fpm/Dockerfile b/19.0/fpm/Dockerfile index 53a3c519..fa7f6bd3 100644 --- a/19.0/fpm/Dockerfile +++ b/19.0/fpm/Dockerfile @@ -60,7 +60,7 @@ 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.18; \ pecl install memcached-3.1.5; \ - pecl install redis-4.3.0; \ + pecl install redis-5.2.2; \ pecl install imagick-3.4.4; \ \ docker-php-ext-enable \ diff --git a/update.sh b/update.sh index 918ac8b4..708f0ead 100755 --- a/update.sh +++ b/update.sh @@ -70,7 +70,7 @@ imagick_version="$( declare -A pecl_versions=( [APCu]="$apcu_version" [memcached]="$memcached_version" - [redis]="4.3.0" + [redis]="$redis_version" [imagick]="$imagick_version" ) @@ -151,6 +151,7 @@ function create_variant() { 16.*|17.*|18.* ) sed -ri -e ' \@bcmath@d; + s/'"redis-${pecl_versions[redis]}"'/redis-4.3.0/g; ' "$dir/Dockerfile" ;;