Skip to content

Commit 58c08fb

Browse files
committed
Added DEBIAN_FRONTEND=noninteractive to fix the timezone issue
Signed-off-by: bharathappali <[email protected]>
1 parent 6870f21 commit 58c08fb

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
@@ -173,7 +173,7 @@ print_lang_locale() {
173173
print_ubuntu_pkg() {
174174
cat >> "$1" <<'EOI'
175175
RUN apt-get update \
176-
&& apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales \
176+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales \
177177
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
178178
&& locale-gen en_US.UTF-8 \
179179
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)