Skip to content

Commit a43c85a

Browse files
committed
[libc++][CI] Installs tzdata package in Docker.
This allows testing the time zone information in the CI. This is needed to let llvm#82108 pass the CI.
1 parent e19e860 commit a43c85a

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)