From 7eb2cab7e02e69568cd3f5d4b1b192adfad6cb06 Mon Sep 17 00:00:00 2001 From: Marius Klocke Date: Fri, 17 Jan 2025 18:21:13 +0100 Subject: [PATCH] Add php intl extension --- docker/php/fpm/Dockerfile | 4 ++-- docker/php/roadrunner/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/php/fpm/Dockerfile b/docker/php/fpm/Dockerfile index 9ca5fe5..53bd57b 100644 --- a/docker/php/fpm/Dockerfile +++ b/docker/php/fpm/Dockerfile @@ -7,7 +7,7 @@ ENV APP_VERSION=${APP_VERSION} ENV PHP_VERSION=${PHP_VERSION} # Install packages for PHP and extensions -RUN PHP_EXTENSIONS="apcu bcmath ctype curl dom fileinfo fpm gmp mbstring opcache pcntl pdo_mysql pdo_pgsql phar redis simplexml sockets tokenizer xml xmlreader xmlwriter" \ +RUN PHP_EXTENSIONS="apcu bcmath ctype curl dom fileinfo fpm gmp intl mbstring opcache pcntl pdo_mysql pdo_pgsql phar redis simplexml sockets tokenizer xml xmlreader xmlwriter" \ && PHP_PACKAGE="php${PHP_VERSION/./}" \ && PHP_SUBPACKAGES="" \ && for EXTENSION in ${PHP_EXTENSIONS}; do \ @@ -16,7 +16,7 @@ RUN PHP_EXTENSIONS="apcu bcmath ctype curl dom fileinfo fpm gmp mbstring opcache && set -ex \ && apk update \ && apk upgrade \ - && apk add --no-cache curl fcgi ${PHP_PACKAGE} ${PHP_SUBPACKAGES} \ + && apk add --no-cache curl fcgi icu-data-full ${PHP_PACKAGE} ${PHP_SUBPACKAGES} \ && ln -s /etc/${PHP_PACKAGE} /etc/php \ && test -e /usr/sbin/php-fpm || ln -s /usr/sbin/php-fpm${PHP_VERSION/./} /usr/sbin/php-fpm \ && test -e /usr/bin/php || ln -s /usr/bin/${PHP_PACKAGE} /usr/bin/php \ diff --git a/docker/php/roadrunner/Dockerfile b/docker/php/roadrunner/Dockerfile index 5fd1848..6c7b4f2 100644 --- a/docker/php/roadrunner/Dockerfile +++ b/docker/php/roadrunner/Dockerfile @@ -10,7 +10,7 @@ ENV APP_VERSION=${APP_VERSION} ENV PHP_VERSION=${PHP_VERSION} # Install packages for PHP and extensions -RUN PHP_EXTENSIONS="apcu bcmath ctype curl dom fileinfo gmp mbstring opcache pcntl pdo_mysql pdo_pgsql phar redis simplexml sockets tokenizer xml xmlreader xmlwriter" \ +RUN PHP_EXTENSIONS="apcu bcmath ctype curl dom fileinfo gmp intl mbstring opcache pcntl pdo_mysql pdo_pgsql phar redis simplexml sockets tokenizer xml xmlreader xmlwriter" \ && PHP_PACKAGE="php${PHP_VERSION/./}" \ && PHP_SUBPACKAGES="" \ && for EXTENSION in ${PHP_EXTENSIONS}; do \ @@ -19,7 +19,7 @@ RUN PHP_EXTENSIONS="apcu bcmath ctype curl dom fileinfo gmp mbstring opcache pcn && set -ex \ && apk update \ && apk upgrade \ - && apk add --no-cache curl ${PHP_PACKAGE} ${PHP_SUBPACKAGES} \ + && apk add --no-cache curl icu-data-full ${PHP_PACKAGE} ${PHP_SUBPACKAGES} \ && ln -s /etc/${PHP_PACKAGE} /etc/php \ && test -e /usr/bin/php || ln -s /usr/bin/${PHP_PACKAGE} /usr/bin/php \ && adduser -u 82 -D -S -G www-data www-data \