public and alpine
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
dde29a26d8
commit
6cb682d807
|
@ -27,7 +27,7 @@ services:
|
||||||
Redis:
|
Redis:
|
||||||
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes
|
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes
|
||||||
class: \Redis
|
class: \Redis
|
||||||
|
public: true
|
||||||
calls:
|
calls:
|
||||||
- connect:
|
- connect:
|
||||||
- '%env(REDIS_HOST)%'
|
- '%env(REDIS_HOST)%'
|
||||||
|
|
|
@ -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
|
||||||
# https://github.com/mlocati/docker-php-extension-installer#special-requirements
|
# 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 install-php-extensions opcache redis timezonedb
|
||||||
|
|
||||||
RUN apt clean autoclean && \
|
RUN rm -rf /var/cache/apk/*
|
||||||
apt autoremove -y && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||||
COPY docker/zz-custom-php.ini "$PHP_INI_DIR/conf.d/"
|
COPY docker/zz-custom-php.ini "$PHP_INI_DIR/conf.d/"
|
||||||
|
|
Loading…
Reference in New Issue