From 9728a8552f7e500b9c20445b3773a545246c14ee Mon Sep 17 00:00:00 2001 From: Thanayut Seethongchuen Date: Tue, 9 Jul 2024 13:19:05 +0200 Subject: [PATCH] local timezone (#8549) --- cicd/crabserver_pypi/Dockerfile | 3 +++ cicd/crabtaskworker_pypi/Dockerfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cicd/crabserver_pypi/Dockerfile b/cicd/crabserver_pypi/Dockerfile index eaee84793f..69baf1ca9a 100644 --- a/cicd/crabserver_pypi/Dockerfile +++ b/cicd/crabserver_pypi/Dockerfile @@ -17,6 +17,9 @@ RUN apt-get update \ && apt-get install -y tini \ && apt-get clean all +# local timezone (hardcode) +RUN ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime + # Copy CERN tnsnames.ora COPY --from=tnsnames /etc/tnsnames.ora /etc/tnsnames.ora diff --git a/cicd/crabtaskworker_pypi/Dockerfile b/cicd/crabtaskworker_pypi/Dockerfile index 79dae0553f..f98a325934 100644 --- a/cicd/crabtaskworker_pypi/Dockerfile +++ b/cicd/crabtaskworker_pypi/Dockerfile @@ -60,6 +60,9 @@ RUN apt-get update \ && apt-get install -y tini git zip voms-clients-java fd-find ripgrep libsasl2-dev python3-dev libldap-dev libssl-dev \ && apt-get clean all +# local timezone (hardcode) +RUN ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime + # prepare build RUN mkdir /build WORKDIR /build