From 097fbe44eaa21623cc78f7da88cbe910edb94afe Mon Sep 17 00:00:00 2001
From: Soraya Arias <soraya.arias@inria.fr>
Date: Mon, 17 Oct 2022 19:40:56 +0200
Subject: [PATCH] Correct Timezone settings

---
 docker/fidle_python_pip.dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docker/fidle_python_pip.dockerfile b/docker/fidle_python_pip.dockerfile
index 87666c8..b56bc33 100644
--- a/docker/fidle_python_pip.dockerfile
+++ b/docker/fidle_python_pip.dockerfile
@@ -7,9 +7,10 @@ FROM ${docker_image_base}
 LABEL maintainer=soraya.arias@inria.fr
 
 # Ensure a sane environment
-ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 DEBIAN_FRONTEND=noninteractive
+ENV TZ=Europe/Paris LANG=C.UTF-8 LC_ALL=C.UTF-8 DEBIAN_FRONTEND=noninteractive
 
-RUN apt update --fix-missing && \
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
+    apt update --fix-missing && \
     apt install -y --no-install-recommends apt-utils \
         python3-venv  \
         python3-pip && \
-- 
GitLab