From 97bf337254d5ee78b5e39b336b79d443d200a47c Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Wed, 23 Mar 2022 04:23:23 +0000 Subject: [PATCH] Prevent hanging on tzinfo install --- containers/cuda/Dockerfile | 2 ++ containers/debian/Dockerfile | 2 ++ containers/oneapi/Dockerfile | 2 ++ 3 files changed, 6 insertions(+) diff --git a/containers/cuda/Dockerfile b/containers/cuda/Dockerfile index 665f676b1..947cd8aaf 100644 --- a/containers/cuda/Dockerfile +++ b/containers/cuda/Dockerfile @@ -22,6 +22,8 @@ ENV CLICOLOR_FORCE=1 \ ## this once afterburner is added to spack RUN --mount=type=cache,target=/var/cache/apt \ rm -f /etc/apt/apt.conf.d/docker-clean \ + && ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime \ + && echo "US/Eastern" > /etc/timezone \ && apt-get -yqq update \ && apt-get -yqq upgrade \ && apt-get -yqq install --no-install-recommends \ diff --git a/containers/debian/Dockerfile b/containers/debian/Dockerfile index 1c71071fa..d0caed73b 100644 --- a/containers/debian/Dockerfile +++ b/containers/debian/Dockerfile @@ -22,6 +22,8 @@ ENV CLICOLOR_FORCE=1 \ ## this once afterburner is added to spack RUN --mount=type=cache,target=/var/cache/apt \ rm -f /etc/apt/apt.conf.d/docker-clean \ + && ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime \ + && echo "US/Eastern" > /etc/timezone \ && apt-get -yqq update \ && apt-get -yqq upgrade \ && apt-get -yqq install --no-install-recommends \ diff --git a/containers/oneapi/Dockerfile b/containers/oneapi/Dockerfile index d6b4ed0c8..b30c36975 100644 --- a/containers/oneapi/Dockerfile +++ b/containers/oneapi/Dockerfile @@ -22,6 +22,8 @@ ENV CLICOLOR_FORCE=1 \ ## this once afterburner is added to spack RUN --mount=type=cache,target=/var/cache/apt \ rm -f /etc/apt/apt.conf.d/docker-clean \ + && ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime \ + && echo "US/Eastern" > /etc/timezone \ && apt-get -yqq update \ && apt-get -yqq upgrade \ && apt-get -yqq install --no-install-recommends \ -- GitLab