diff --git a/.env.example b/.env.example index 730a634..aff96c8 100644 --- a/.env.example +++ b/.env.example @@ -332,6 +332,7 @@ PHP_WORKER_INSTALL_IMAP=false PHP_WORKER_INSTALL_XMLRPC=false PHP_WORKER_INSTALL_SSDB=false PHP_WORKER_INSTALL_EVENT=false +PHP_WORKER_INSTALL_INTL=true PHP_WORKER_PUID=1000 PHP_WORKER_PGID=1000 diff --git a/docker-compose.yml b/docker-compose.yml index db9e43c..174dd25 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -356,6 +356,7 @@ services: - INSTALL_XMLRPC=${PHP_WORKER_INSTALL_XMLRPC} - INSTALL_SSDB=${PHP_WORKER_INSTALL_SSDB} - INSTALL_EVENT=${PHP_WORKER_INSTALL_EVENT} + - INSTALL_INTL=${PHP_WORKER_INSTALL_INTL} - PUID=${PHP_WORKER_PUID} - PGID=${PHP_WORKER_PGID} - IMAGEMAGICK_VERSION=${PHP_WORKER_IMAGEMAGICK_VERSION} diff --git a/php-worker/Dockerfile b/php-worker/Dockerfile index 5f3a80f..27e7f64 100644 --- a/php-worker/Dockerfile +++ b/php-worker/Dockerfile @@ -508,6 +508,18 @@ RUN set -xe; \ && docker-php-ext-enable ssdb \ ;fi +########################################################################### +# Intl: +########################################################################### + +ARG INSTALL_INTL=false + +RUN if [ ${INSTALL_INTL} = true ]; then \ + apk add icu-dev && \ + docker-php-ext-configure intl && \ + docker-php-ext-install intl && \ + docker-php-ext-enable intl \ +;fi ############################################################################ ## Event: