Skip to content

Commit af21659

Browse files
authored
[libc++][CI] Installs tzdata package in Docker. (#84643)
This allows testing the time zone information in the CI. This is needed to let #82108 pass the CI.
1 parent 65eea3e commit af21659

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libcxx/utils/ci/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ RUN <<EOF
6565
echo "ALL ALL = (ALL) NOPASSWD: ALL" | tee /etc/sudoers || true
6666
EOF
6767

68+
# Installing tzdata before other packages avoids the time zone prompts.
69+
# These prompts seem to ignore DEBIAN_FRONTEND=noninteractive.
70+
RUN sudo apt-get update \
71+
&& sudo apt-get install -y \
72+
tzdata
73+
6874
RUN sudo apt-get update \
6975
&& sudo apt-get install -y \
7076
python3 \

0 commit comments

Comments
 (0)