remove redis dublication
This commit is contained in:
+6
-9
@@ -16,6 +16,7 @@ RUN install-php-extensions \
|
|||||||
iconv \
|
iconv \
|
||||||
openssl \
|
openssl \
|
||||||
tokenizer \
|
tokenizer \
|
||||||
|
redis \
|
||||||
simplexml
|
simplexml
|
||||||
|
|
||||||
# Install Composer
|
# Install Composer
|
||||||
@@ -40,8 +41,7 @@ RUN apt-get update \
|
|||||||
FROM node AS symfony
|
FROM node AS symfony
|
||||||
RUN install-php-extensions \
|
RUN install-php-extensions \
|
||||||
apcu \
|
apcu \
|
||||||
sodium \
|
sodium
|
||||||
redis
|
|
||||||
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | bash \
|
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | bash \
|
||||||
&& apt-get install -y symfony-cli
|
&& 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
|
FROM node AS laravel
|
||||||
RUN install-php-extensions \
|
RUN install-php-extensions \
|
||||||
redis
|
sodium
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# WordPress profile
|
# WordPress profile
|
||||||
@@ -59,8 +59,7 @@ FROM base AS wordpress
|
|||||||
RUN install-php-extensions \
|
RUN install-php-extensions \
|
||||||
mysqli \
|
mysqli \
|
||||||
exif \
|
exif \
|
||||||
imagick \
|
imagick
|
||||||
redis
|
|
||||||
|
|
||||||
# Install WP-CLI
|
# Install WP-CLI
|
||||||
RUN curl -o /usr/local/bin/wp -L https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
|
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 \
|
xsl \
|
||||||
soap \
|
soap \
|
||||||
bcmath \
|
bcmath \
|
||||||
sodium \
|
sodium
|
||||||
redis
|
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# OpenCart profile
|
# OpenCart profile
|
||||||
# -------------------------
|
# -------------------------
|
||||||
FROM base AS opencart
|
FROM base AS opencart
|
||||||
RUN install-php-extensions \
|
RUN install-php-extensions \
|
||||||
mysqli \
|
mysqli
|
||||||
redis
|
|
||||||
|
|
||||||
# Fix permissions for storage & cache (FrankenPHP runs as UID 65534 = nobody)
|
# 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
|
RUN if [ -d /app/storage ]; then chown -R 65534:65534 /app/storage /app/bootstrap/cache; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user