Walter Mantovani commited on
Commit
6592dc3
·
1 Parent(s): 85aefa9
Files changed (1) hide show
  1. Dockerfile +9 -8
Dockerfile CHANGED
@@ -15,14 +15,15 @@ RUN apt-get install -y --no-install-recommends sqlite3 locales
15
 
16
  RUN export LC_ALL="it_IT.UTF-8"
17
  RUN export LC_CTYPE="it_IT.UTF-8"
18
- RUN dpkg-reconfigure locales
19
-
20
- # ENV MUSL_LOCPATH="/usr/share/i18n/locales/musl"
21
-
22
- # RUN apk --no-cache add \
23
- # musl-locales \
24
- # musl-locales-lang \
25
- # python3
 
26
 
27
  # Set up a new user named "user" with user ID 1000
28
  RUN useradd -m -u 1000 user
 
15
 
16
  RUN export LC_ALL="it_IT.UTF-8"
17
  RUN export LC_CTYPE="it_IT.UTF-8"
18
+ # RUN dpkg-reconfigure locales
19
+
20
+ # Set the locale
21
+ RUN sed -i '/it_IT.UTF-8/s/^# //g' /etc/locale.gen && \
22
+ locale-gen
23
+ ENV LANG it_IT.UTF-8
24
+ ENV LANGUAGE it_IT:it
25
+ ENV LC_ALL it_IT.UTF-8
26
+ ENV LC_TIME it_IT.UTF-8
27
 
28
  # Set up a new user named "user" with user ID 1000
29
  RUN useradd -m -u 1000 user