aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2024-03-12 17:28:15 +0100
committerGitHub <noreply@github.com>2024-03-12 17:28:15 +0100
commitaf21659c8c5c1d16b9bc5e745aaaf49b322f64d7 (patch)
treecd66a1fb4d319cf7a9e7f777536b87cc76bbcf2c
parent65eea3e5dc907c3059c57ab4d16770522c5b9fb0 (diff)
downloadllvm-af21659c8c5c1d16b9bc5e745aaaf49b322f64d7.zip
llvm-af21659c8c5c1d16b9bc5e745aaaf49b322f64d7.tar.gz
llvm-af21659c8c5c1d16b9bc5e745aaaf49b322f64d7.tar.bz2
[libc++][CI] Installs tzdata package in Docker. (#84643)
This allows testing the time zone information in the CI. This is needed to let https://github.com/llvm/llvm-project/pull/82108 pass the CI.
-rw-r--r--libcxx/utils/ci/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index 225de93..178cba4 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -65,6 +65,12 @@ RUN <<EOF
echo "ALL ALL = (ALL) NOPASSWD: ALL" | tee /etc/sudoers || true
EOF
+# Installing tzdata before other packages avoids the time zone prompts.
+# These prompts seem to ignore DEBIAN_FRONTEND=noninteractive.
+RUN sudo apt-get update \
+ && sudo apt-get install -y \
+ tzdata
+
RUN sudo apt-get update \
&& sudo apt-get install -y \
python3 \