Merge pull request #2424 from appleboy/locale

chore(php-fpm): update the default locale setting.
This commit is contained in:
Shao Yu-Lung (Allen)
2019-12-19 20:08:55 +08:00
committed by GitHub
4 changed files with 13 additions and 0 deletions

View File

@ -880,6 +880,10 @@ RUN if [ ${INSTALL_FAKETIME} = true ]; then \
echo "/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1" > /etc/ld.so.preload \
;fi
# Configure locale.
ARG LOCALE=POSIX
ENV LC_ALL ${LOCALE}
WORKDIR /var/www
CMD ["php-fpm"]