diff --git a/Dockerfile b/Dockerfile index a635df0..d38ae24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,7 +45,12 @@ RUN apk add --no-cache \ unzip \ curl \ shadow \ - php8-pecl-redis + +RUN apk --no-cache add pcre-dev ${PHPIZE_DEPS} \ + && pecl install redis \ + && docker-php-ext-enable redis \ + && apk del pcre-dev ${PHPIZE_DEPS} s\ + && rm -rf /tmp/pear \ # Install PHP extensions