From 03630945728a1ddb34b827859a07040f5eea5c90 Mon Sep 17 00:00:00 2001 From: Branko Wilhelm Date: Fri, 13 Mar 2026 09:31:19 +0100 Subject: [PATCH] Add Redis extension installation to Dockerfile --- apache/Dockerfile | 2 ++ fpm-alpine/Dockerfile | 4 +++- fpm/Dockerfile | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apache/Dockerfile b/apache/Dockerfile index 363ea8b..9824612 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -34,6 +34,7 @@ RUN set -ex; \ # END: Install php-zmq \ pecl install ev; \ + pecl install redis; \ \ docker-php-ext-configure ldap \ --with-libdir="lib/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" \ @@ -58,6 +59,7 @@ RUN set -ex; \ docker-php-ext-enable \ zmq \ ev \ + redis \ ; \ \ # reset a list of apt-mark diff --git a/fpm-alpine/Dockerfile b/fpm-alpine/Dockerfile index b39b448..e5b29c1 100644 --- a/fpm-alpine/Dockerfile +++ b/fpm-alpine/Dockerfile @@ -32,6 +32,7 @@ RUN set -ex; \ # END: Install php-zmq \ pecl install ev; \ + pecl install redis; \ \ docker-php-ext-configure gd \ --with-freetype \ @@ -52,7 +53,8 @@ RUN set -ex; \ ; \ docker-php-ext-enable \ zmq \ - ev + ev \ + redis # php.ini RUN { \ diff --git a/fpm/Dockerfile b/fpm/Dockerfile index d688935..700adcb 100644 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -34,6 +34,7 @@ RUN set -ex; \ # END: Install php-zmq \ pecl install ev; \ + pecl install redis; \ \ docker-php-ext-configure ldap \ --with-libdir="lib/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" \ @@ -58,6 +59,7 @@ RUN set -ex; \ docker-php-ext-enable \ zmq \ ev \ + redis \ ; \ \ # reset a list of apt-mark