Skip to content

Commit 50345c5

Browse files
authored
configure timezone (#46219)
1 parent cefafd4 commit 50345c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ ENV DEBIAN_FRONTEND=noninteractive
1212
RUN apt-get update \
1313
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
1414
#
15+
# Install tzdata and configure timezone (fix for tests which try to read from "/etc/localtime")
16+
&& apt-get -y install tzdata \
17+
&& ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime \
18+
&& dpkg-reconfigure -f noninteractive tzdata \
19+
#
1520
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
1621
&& apt-get -y install git iproute2 procps iproute2 lsb-release \
1722
#

0 commit comments

Comments
 (0)