include redis in laravel container
Build and Push Docker Images / build-and-push (push) Successful in 5m36s

This commit is contained in:
2026-03-12 11:37:59 +01:00
parent f2e442218a
commit ce04e139f2
2 changed files with 8 additions and 1 deletions
@@ -23,6 +23,13 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install gd mbstring zip pdo pdo_mysql pdo_pgsql
# Install Redis PHP extension via PECL
RUN apt-get update && apt-get install -y --no-install-recommends $PHPIZE_DEPS libssl-dev \
&& pecl install redis \
&& docker-php-ext-enable redis \
&& apt-get purge -y --auto-remove $PHPIZE_DEPS libssl-dev \
&& rm -rf /var/lib/apt/lists/*
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
+1 -1
View File
@@ -1 +1 @@
4.1
5.0