From d72f181e1d391a6941c3f5f9d72ceea1195ce07c Mon Sep 17 00:00:00 2001
From: Alberto Nidasio <nidasioalberto@gmail.com>
Date: Mon, 29 Jul 2024 18:17:06 +0200
Subject: [PATCH] Set timezone to prevent tzdata configuration from blocking
 the build

---
 DockerfileLinux   | 4 ++++
 DockerfileWindows | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/DockerfileLinux b/DockerfileLinux
index fe8127b..bb2e876 100644
--- a/DockerfileLinux
+++ b/DockerfileLinux
@@ -1,4 +1,8 @@
 FROM ubuntu:20.04
+ARG DEBIAN_FRONTEND=noninteractive
+
+# Configure timezone to prevent tzdata configuration from blocking the build
+ENV TZ=Europe/Rome
 
 # Update package manager cache
 RUN apt-get update
diff --git a/DockerfileWindows b/DockerfileWindows
index 5ee5785..ffdd6d2 100644
--- a/DockerfileWindows
+++ b/DockerfileWindows
@@ -1,4 +1,8 @@
 FROM ubuntu:20.04
+ARG DEBIAN_FRONTEND=noninteractive
+
+# Configure timezone to prevent tzdata configuration from blocking the build
+ENV TZ=Europe/Rome
 
 # Update package manager cache
 RUN apt-get update
-- 
GitLab