From fa2e16a67a6cd0cbfd84cc16330a8b8b2e6184a0 Mon Sep 17 00:00:00 2001 From: John Beranek Date: Tue, 15 Aug 2023 10:28:46 +0100 Subject: [PATCH 1/3] MRBS Docker container will now install the PHP intl extension. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4d0feb02f5..dde9ebba76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM php:8.1-apache RUN a2enmod rewrite RUN docker-php-ext-install mysqli pdo pdo_mysql -RUN apt-get update && apt-get install -y locales && \ +RUN apt-get update && apt-get install -y php-intl locales && \ sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen && \ sed -i 's/^# *\(en_GB.UTF-8\)/\1/' /etc/locale.gen && \ locale-gen From b79430d7026c1e08a4394adfbec6a276631ac2aa Mon Sep 17 00:00:00 2001 From: John Beranek Date: Tue, 15 Aug 2023 10:31:40 +0100 Subject: [PATCH 2/3] MRBS Docker container updated to PHP 8.2 and updated PHP intl package name --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dde9ebba76..9a96a3cc3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM php:8.1-apache +FROM php:8.2-apache RUN a2enmod rewrite RUN docker-php-ext-install mysqli pdo pdo_mysql -RUN apt-get update && apt-get install -y php-intl locales && \ +RUN apt-get update && apt-get install -y php8.2-intl locales && \ sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen && \ sed -i 's/^# *\(en_GB.UTF-8\)/\1/' /etc/locale.gen && \ locale-gen From 35bff94ee2d862e3b0727a1dc3dc17e7906b0273 Mon Sep 17 00:00:00 2001 From: John Beranek Date: Tue, 15 Aug 2023 10:54:13 +0100 Subject: [PATCH 3/3] MRBS Docker container now builds the PHP 'intl' extension from source --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9a96a3cc3d..53dce96d7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ FROM php:8.2-apache RUN a2enmod rewrite -RUN docker-php-ext-install mysqli pdo pdo_mysql -RUN apt-get update && apt-get install -y php8.2-intl locales && \ +RUN apt-get update && apt-get install -y libicu72 libicu-dev +RUN docker-php-ext-install mysqli pdo pdo_mysql intl +RUN apt-get update && apt-get install -y locales && \ sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen && \ sed -i 's/^# *\(en_GB.UTF-8\)/\1/' /etc/locale.gen && \ locale-gen