summaryrefslogtreecommitdiffstats
path: root/libcxx/utils/ci/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/utils/ci/Dockerfile')
-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 225de937cc86..178cba415933 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 \