From d6493fb02d60e57a02f80378d92457a2c10f7ae6 Mon Sep 17 00:00:00 2001 From: Mohamed Youssef Date: Mon, 21 Sep 2026 20:24:10 +0300 Subject: [PATCH] remove redis dublication --- Dockerfile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 480c308..50cbced 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ RUN install-php-extensions \ iconv \ openssl \ tokenizer \ + redis \ simplexml # Install Composer @@ -40,8 +41,7 @@ RUN apt-get update \ FROM node AS symfony RUN install-php-extensions \ apcu \ - sodium \ - redis + sodium RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | bash \ && apt-get install -y symfony-cli @@ -50,7 +50,7 @@ RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | b # ------------------------- FROM node AS laravel RUN install-php-extensions \ - redis + sodium # ------------------------- # WordPress profile @@ -59,8 +59,7 @@ FROM base AS wordpress RUN install-php-extensions \ mysqli \ exif \ - imagick \ - redis + imagick # Install WP-CLI RUN curl -o /usr/local/bin/wp -L https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ @@ -75,16 +74,14 @@ RUN install-php-extensions \ xsl \ soap \ bcmath \ - sodium \ - redis + sodium # ------------------------- # OpenCart profile # ------------------------- FROM base AS opencart RUN install-php-extensions \ - mysqli \ - redis + mysqli # Fix permissions for storage & cache (FrankenPHP runs as UID 65534 = nobody) RUN if [ -d /app/storage ]; then chown -R 65534:65534 /app/storage /app/bootstrap/cache; fi