Skip to content

Commit

Permalink
[libc++][CI] Installs tzdata package in Docker. (llvm#84643)
Browse files Browse the repository at this point in the history
This allows testing the time zone information in the CI. This is needed
to let llvm#82108 pass the CI.
  • Loading branch information
mordante authored Mar 12, 2024
1 parent 65eea3e commit af21659
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libcxx/utils/ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit af21659

Please sign in to comment.