Skip to content

Commit

Permalink
MRBS Docker container now builds the PHP 'intl' extension from source
Browse files Browse the repository at this point in the history
  • Loading branch information
jberanek committed Aug 15, 2023
1 parent b79430d commit 35bff94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 35bff94

Please sign in to comment.