commit f6bd8b3462dcc77be81f5722c7be82b84478f522
parent c6664971300a360a82b42db1bcf0a7d883717fff
Author: Marco <mrckndt@riseup.net>
Date: Fri, 6 Aug 2021 13:39:33 +0200
Adding tzdata to container
To be able to set a timezone inside a container with the env variable TZ
the tzdata package is needed. Otherwise only UTC will be set.
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/docker/Dockerfile.j2 b/docker/Dockerfile.j2
@@ -212,6 +212,7 @@ RUN mkdir /data \
{% if "alpine" in runtime_stage_base_image %}
&& apk add --no-cache \
openssl \
+ tzdata \
curl \
dumb-init \
{% if "mysql" in features %}
diff --git a/docker/amd64/Dockerfile.alpine b/docker/amd64/Dockerfile.alpine
@@ -82,6 +82,7 @@ ENV SSL_CERT_DIR=/etc/ssl/certs
RUN mkdir /data \
&& apk add --no-cache \
openssl \
+ tzdata \
curl \
dumb-init \
postgresql-libs \
diff --git a/docker/armv7/Dockerfile.alpine b/docker/armv7/Dockerfile.alpine
@@ -88,6 +88,7 @@ RUN [ "cross-build-start" ]
RUN mkdir /data \
&& apk add --no-cache \
openssl \
+ tzdata \
curl \
dumb-init \
ca-certificates