Browse Source

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.
pull/1886/head
Marco 3 years ago
parent
commit
f6bd8b3462
  1. 1
      docker/Dockerfile.j2
  2. 1
      docker/amd64/Dockerfile.alpine
  3. 1
      docker/armv7/Dockerfile.alpine

1
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 %}

1
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 \

1
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

Loading…
Cancel
Save