include redis in laravel container
Build and Push Docker Images / build-and-push (push) Successful in 5m36s
Build and Push Docker Images / build-and-push (push) Successful in 5m36s
This commit is contained in:
@@ -23,6 +23,13 @@ RUN apt-get update && apt-get install -y \
|
|||||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||||
&& docker-php-ext-install gd mbstring zip pdo pdo_mysql pdo_pgsql
|
&& 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
|
# Install Composer
|
||||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
4.1
|
5.0
|
||||||
Reference in New Issue
Block a user