From f6bd8b3462dcc77be81f5722c7be82b84478f522 Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 6 Aug 2021 13:39:33 +0200 Subject: [PATCH] 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. --- docker/Dockerfile.j2 | 1 + docker/amd64/Dockerfile.alpine | 1 + docker/armv7/Dockerfile.alpine | 1 + 3 files changed, 3 insertions(+) diff --git a/docker/Dockerfile.j2 b/docker/Dockerfile.j2 index 1787c932..8224644f 100644 --- 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 index a056b960..3e4603ab 100644 --- 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 index 6a42d23e..a6ca1582 100644 --- 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