Skip to content

Commit 3473c42

Browse files
authored
Merge pull request #476 from bharathappali/ubuntu-timezone-fix
Added DEBIAN_FRONTEND=noninteractive to fix the timezone issue
2 parents af1abce + 58c08fb commit 3473c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfile_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ print_lang_locale() {
178178
print_ubuntu_pkg() {
179179
cat >> "$1" <<'EOI'
180180
RUN apt-get update \
181-
&& apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales \
181+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales \
182182
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
183183
&& locale-gen en_US.UTF-8 \
184184
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)