Docker fix
This commit is contained in:
@@ -26,6 +26,10 @@ RUN apt-get update -y ; \
|
|||||||
apt-get clean ; \
|
apt-get clean ; \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
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
|
## Add the Module user
|
||||||
ARG UNAME
|
ARG UNAME
|
||||||
ARG UHOME
|
ARG UHOME
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ set_locale()
|
|||||||
{
|
{
|
||||||
## Setup locale
|
## Setup locale
|
||||||
if [ "$DM_LC_ALL" ]; then
|
if [ "$DM_LC_ALL" ]; then
|
||||||
export LC_ALL="$DM_LC_ALL"
|
LC_ALL="$DM_LC_ALL"
|
||||||
update-locale
|
update-locale
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user