Docker fix

This commit is contained in:
2023-08-28 12:55:56 +03:00
parent be0257f21d
commit ddd4001ecf
2 changed files with 5 additions and 1 deletions

View File

@@ -26,6 +26,10 @@ RUN apt-get update -y ; \
apt-get clean ; \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
## Generate UTF-8 locales
RUN sed -i '/\.UTF-8/s/^# //g' /etc/locale.gen; \
locale-gen
## Add the Module user
ARG UNAME
ARG UHOME

View File

@@ -34,7 +34,7 @@ set_locale()
{
## Setup locale
if [ "$DM_LC_ALL" ]; then
export LC_ALL="$DM_LC_ALL"
LC_ALL="$DM_LC_ALL"
update-locale
fi