When building, log says:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Fix it by setting "C.UTF-8" to the LC_ALL variable and running
$dpkg-reconfigure locales
When building, log says:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Fix it by setting "C.UTF-8" to the LC_ALL variable and running
$dpkg-reconfigure locales
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Sandlayth | T1024 Specify the locale used in the nginx-php-fpm docker image | |||
Resolved | Sandlayth | T1025 Install the locale package in the nginx-php-fpm docker image |
In best practices, reconfiguring locales is recommended:
RUN dpkg-reconfigure locales && \ locale-gen C.UTF-8 && \ /usr/sbin/update-locale LANG=C.UTF-8