Skip to content

Commit

Permalink
[libc++][CI] Installs tzdata package in Docker. (#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/llvm-project#82108 pass the CI.

NOKEYCHECK=True
GitOrigin-RevId: af21659c8c5c1d16b9bc5e745aaaf49b322f64d7
  • Loading branch information
mordante authored and copybara-github committed Mar 12, 2024
1 parent 4f31167 commit 60c5d8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 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 60c5d8e

Please sign in to comment.