mirror of https://github.com/kcal-app/kcal.git
Add Redis to Dockerfie
This commit is contained in:
parent
600bb9b2e9
commit
96fbcd1b7d
|
@ -2,7 +2,7 @@ FROM php:8.0-fpm-alpine
|
||||||
|
|
||||||
RUN apk add --no-cache --virtual \
|
RUN apk add --no-cache --virtual \
|
||||||
.build-deps \
|
.build-deps \
|
||||||
$PHPIZE_DEPS \
|
${PHPIZE_DEPS} \
|
||||||
bash \
|
bash \
|
||||||
freetype-dev \
|
freetype-dev \
|
||||||
git \
|
git \
|
||||||
|
@ -15,6 +15,7 @@ RUN apk add --no-cache --virtual \
|
||||||
oniguruma-dev \
|
oniguruma-dev \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
openssl \
|
openssl \
|
||||||
|
pcre-dev \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
rsync \
|
rsync \
|
||||||
zlib-dev
|
zlib-dev
|
||||||
|
@ -34,6 +35,10 @@ RUN docker-php-ext-install \
|
||||||
pcntl \
|
pcntl \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
|
# Install PECL extensions.
|
||||||
|
RUN pecl install redis
|
||||||
|
RUN docker-php-ext-enable redis
|
||||||
|
|
||||||
# Install composer.
|
# Install composer.
|
||||||
ENV COMPOSER_HOME /composer
|
ENV COMPOSER_HOME /composer
|
||||||
ENV PATH ./vendor/bin:/composer/vendor/bin:$PATH
|
ENV PATH ./vendor/bin:/composer/vendor/bin:$PATH
|
||||||
|
|
Loading…
Reference in New Issue