From 96fbcd1b7d1e4a59ee0c7eecefe0bf441ea4f415 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Fri, 23 Apr 2021 22:34:12 -0700 Subject: [PATCH] Add Redis to Dockerfie --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0dfa0ea..dfdcc65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM php:8.0-fpm-alpine RUN apk add --no-cache --virtual \ .build-deps \ - $PHPIZE_DEPS \ + ${PHPIZE_DEPS} \ bash \ freetype-dev \ git \ @@ -15,6 +15,7 @@ RUN apk add --no-cache --virtual \ oniguruma-dev \ openssh-client \ openssl \ + pcre-dev \ postgresql-dev \ rsync \ zlib-dev @@ -34,6 +35,10 @@ RUN docker-php-ext-install \ pcntl \ zip +# Install PECL extensions. +RUN pecl install redis +RUN docker-php-ext-enable redis + # Install composer. ENV COMPOSER_HOME /composer ENV PATH ./vendor/bin:/composer/vendor/bin:$PATH