File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ LABEL name="Silverpeas Dev" description="An image to build a Silverpeas project
12
12
MAINTAINER Miguel Moquillon "miguel.moquillon@silverpeas.org"
13
13
14
14
ENV TERM=xterm
15
+ ENV TZ=Europe/Paris
16
+ ENV DEBIAN_FRONTEND=noninteractive
15
17
16
18
# Parameters whose values are required for the tests to succeed
17
19
ARG DEFAULT_LOCALE=fr_FR.UTF-8
@@ -84,7 +86,9 @@ RUN apt-get update && apt-get install -y \
84
86
&& echo "fr_FR.UTF-8 UTF-8" >> /etc/locale.gen \
85
87
&& echo "de_DE.UTF-8 UTF-8" >> /etc/locale.gen \
86
88
&& locale-gen \
87
- && update-locale LANG=${DEFAULT_LOCALE} LANGUAGE=${DEFAULT_LOCALE} LC_ALL=${DEFAULT_LOCALE}
89
+ && update-locale LANG=${DEFAULT_LOCALE} LANGUAGE=${DEFAULT_LOCALE} LC_ALL=${DEFAULT_LOCALE} \
90
+ && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
91
+ && dpkg-reconfigure --frontend noninteractive tzdata
88
92
89
93
COPY src/inputrc /home/silveruser/.inputrc
90
94
COPY src/bash_aliases /home/silveruser/.bash_aliases
You can’t perform that action at this time.
0 commit comments