From b895501242877072c891dc816fee14c930acca5a Mon Sep 17 00:00:00 2001 From: Kim Oliver Drechsel Date: Tue, 9 Aug 2022 20:45:07 +0200 Subject: [PATCH] Add tzdata package to fix wrong system time (#21) Without the tzdata package, the TZ env var won't have effect on the system time within the container, what will lead to wrong timestamps in any logs. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2f4a590..10974c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY ./manifest/ / RUN set -x \ && apk update \ - && apk add bash expat-dev mariadb-dev mariadb-client mariadb-connector-c openssl openssl-dev gzip wget perl-utils g++ make perl-dev \ + && apk add bash expat-dev mariadb-dev mariadb-client mariadb-connector-c openssl openssl-dev gzip wget perl-utils g++ make perl-dev tzdata \ && wget -4 -q --no-check-certificate -O parser.zip $REPORT_PARSER_SOURCE \ && wget -4 -q --no-check-certificate -O viewer.zip $REPORT_VIEWER_SOURCE \ && unzip parser.zip && cp -av dmarcts-report-parser-master/* /usr/bin/ && rm -vf parser.zip && rm -rvf dmarcts-report-parser-master \