aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9e33065..ca1a588 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -23,8 +23,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
procps \
iputils-ping \
+ tzdata \
&& rm -rf /var/lib/apt/lists/*
+# ---- timezone ----
+
+ENV TZ=Europe/Madrid
+RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime \
+ && echo $TZ > /etc/timezone
+
# ---- Narrow sudo for senia (apt only, no password) ----
RUN echo "senia ALL=(root) NOPASSWD: /usr/bin/apt, /usr/bin/apt-get" \