From 74f9916ac7fec5798101e8bbe4f8ae45cc489d6c Mon Sep 17 00:00:00 2001
From: Jonas Eppelt <jonas.eppelt@kit.edu>
Date: Sun, 1 Oct 2023 11:46:08 +0000
Subject: [PATCH] timezone must be set explicitly

---
 basis/Dockerfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/basis/Dockerfile b/basis/Dockerfile
index d9021cb..e6c53ba 100755
--- a/basis/Dockerfile
+++ b/basis/Dockerfile
@@ -4,6 +4,11 @@ LABEL maintainer "Eppelt, Jonas jonas.eppelt@kit.edu"
 
 USER root
 
+### fixing timezone issues
+RUN apt-get update && apt-get install -y tzdata
+ENV TZ=Europe/Berlin
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
+
 ### run apt-get installs for Latex for notebook conversion
 RUN apt-get update -y && apt-get upgrade -y && \
     apt-get install -y nano vim pandoc dvipng git texlive-xetex texlive texlive-lang-german texlive-latex-extra \
-- 
GitLab