added intl install for php-worker
This commit is contained in:
parent
7d1fb0cd86
commit
05518b1a94
|
@ -332,6 +332,7 @@ PHP_WORKER_INSTALL_IMAP=false
|
||||||
PHP_WORKER_INSTALL_XMLRPC=false
|
PHP_WORKER_INSTALL_XMLRPC=false
|
||||||
PHP_WORKER_INSTALL_SSDB=false
|
PHP_WORKER_INSTALL_SSDB=false
|
||||||
PHP_WORKER_INSTALL_EVENT=false
|
PHP_WORKER_INSTALL_EVENT=false
|
||||||
|
PHP_WORKER_INSTALL_INTL=true
|
||||||
|
|
||||||
PHP_WORKER_PUID=1000
|
PHP_WORKER_PUID=1000
|
||||||
PHP_WORKER_PGID=1000
|
PHP_WORKER_PGID=1000
|
||||||
|
|
|
@ -356,6 +356,7 @@ services:
|
||||||
- INSTALL_XMLRPC=${PHP_WORKER_INSTALL_XMLRPC}
|
- INSTALL_XMLRPC=${PHP_WORKER_INSTALL_XMLRPC}
|
||||||
- INSTALL_SSDB=${PHP_WORKER_INSTALL_SSDB}
|
- INSTALL_SSDB=${PHP_WORKER_INSTALL_SSDB}
|
||||||
- INSTALL_EVENT=${PHP_WORKER_INSTALL_EVENT}
|
- INSTALL_EVENT=${PHP_WORKER_INSTALL_EVENT}
|
||||||
|
- INSTALL_INTL=${PHP_WORKER_INSTALL_INTL}
|
||||||
- PUID=${PHP_WORKER_PUID}
|
- PUID=${PHP_WORKER_PUID}
|
||||||
- PGID=${PHP_WORKER_PGID}
|
- PGID=${PHP_WORKER_PGID}
|
||||||
- IMAGEMAGICK_VERSION=${PHP_WORKER_IMAGEMAGICK_VERSION}
|
- IMAGEMAGICK_VERSION=${PHP_WORKER_IMAGEMAGICK_VERSION}
|
||||||
|
|
|
@ -508,6 +508,18 @@ RUN set -xe; \
|
||||||
&& docker-php-ext-enable ssdb \
|
&& docker-php-ext-enable ssdb \
|
||||||
;fi
|
;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:
|
## Event:
|
||||||
|
|
Loading…
Reference in New Issue