public and alpine
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sergio Álvarez 2022-01-11 14:22:20 +01:00
parent dde29a26d8
commit 6cb682d807
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
2 changed files with 4 additions and 6 deletions

View File

@ -27,7 +27,7 @@ services:
Redis:
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes
class: \Redis
public: true
calls:
- connect:
- '%env(REDIS_HOST)%'

View File

@ -1,6 +1,6 @@
FROM php:8.1-fpm-buster
FROM php:8.1-fpm-alpine
RUN apt update && apt install -y curl git
RUN apk add --no-cache curl git
# https://github.com/mlocati/docker-php-extension-installer
# https://github.com/mlocati/docker-php-extension-installer#special-requirements
@ -10,9 +10,7 @@ RUN curl -sSLf -o /usr/local/bin/install-php-extensions \
RUN install-php-extensions opcache redis timezonedb
RUN apt clean autoclean && \
apt autoremove -y && \
rm -rf /var/lib/apt/lists/*
RUN rm -rf /var/cache/apk/*
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY docker/zz-custom-php.ini "$PHP_INI_DIR/conf.d/"