add php intl extension

This commit is contained in:
damage 2023-07-08 22:51:12 +02:00
parent 4aa316bfb5
commit 53816e4d9b

View File

@ -17,10 +17,10 @@ RUN a2enconf zz_prod
RUN docker-php-ext-configure opcache && docker-php-ext-install -j$(nproc) opcache
## pgsql
RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-configure pgsql && docker-php-ext-install pgsql
RUN apt-get install -y libpq-dev && docker-php-ext-configure pgsql && docker-php-ext-install pgsql
## zip
RUN apt-get update && apt-get install -y libzip-dev && docker-php-ext-configure zip && docker-php-ext-install zip
RUN apt-get install -y libzip-dev && docker-php-ext-configure zip && docker-php-ext-install zip
# composer
RUN curl https://getcomposer.org/installer --output /tmp/composer-setup.php && php /tmp/composer-setup.php --install-dir=/tmp && mv /tmp/composer.phar /usr/local/bin/composer
@ -28,6 +28,9 @@ RUN curl https://getcomposer.org/installer --output /tmp/composer-setup.php && p
# mysqli
RUN docker-php-ext-configure mysqli && docker-php-ext-install mysqli
# intl
RUN apt-get install -y libicu-dev && docker-php-ext-configure intl && docker-php-ext-install intl
# replace IP with X-Forwarded-For Header in Logs
RUN sed -i 's/^\(LogFormat .*\)%h/\1%{X-Forwarded-For}i/g' /etc/apache2/apache2.conf