Merge branch 'add-php-85-ci-extensions' into 'master'

build(docker): update PHP extensions configuration

See merge request ldc-web/projets/ldc-web-images-docker!10
This commit is contained in:
Jérémy 2026-10-05 15:06:46 +02:00
commit f8512fd649

View file

@ -26,7 +26,6 @@ RUN apk add --no-cache \
git
RUN docker-php-ext-configure gd \
--enable-gd \
--with-freetype \
--with-jpeg \
--with-webp \
@ -44,7 +43,9 @@ RUN docker-php-ext-configure gd \
sockets \
xsl \
zip \
&& docker-php-ext-install -j"$(nproc)" gd intl ldap
gd \
intl \
ldap
# redis install
RUN curl -fsSL https://github.com/phpredis/phpredis/archive/refs/tags/6.3.0.tar.gz -o /tmp/redis.tar.gz \
@ -89,6 +90,7 @@ RUN apk add --no-cache \
libpng \
libwebp \
libxpm \
libx11 \
icu-libs \
gmp \
libxslt \
@ -96,7 +98,12 @@ RUN apk add --no-cache \
libzip \
libldap \
# Php minimal configuration
&& printf '# composer php cli ini settings\ndate.timezone=UTC\nmemory_limit=-1\nopcache.enable_cli=1\n' > "$PHP_INI_DIR/php-cli.ini"
&& printf '%s\n' \
'# composer php cli ini settings' \
'date.timezone=UTC' \
'memory_limit=-1' \
'opcache.enable_cli=1' \
> "$PHP_INI_DIR/php-cli.ini"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_HOME=/tmp