diff options
author | Mark de Wever <koraq@xs4all.nl> | 2024-03-12 17:28:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 17:28:15 +0100 |
commit | af21659c8c5c1d16b9bc5e745aaaf49b322f64d7 (patch) | |
tree | cd66a1fb4d319cf7a9e7f777536b87cc76bbcf2c | |
parent | 65eea3e5dc907c3059c57ab4d16770522c5b9fb0 (diff) | |
download | llvm-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/Dockerfile | 6 |
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 \ |