remove redis dublication
This commit is contained in:
+6
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user