From 6003e11533a0d1490f55cdae4df5c0152468eed1 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 3 Nov 2021 19:32:31 +0100 Subject: [PATCH] duh. add timezone (again) --- webmails/roundcube/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webmails/roundcube/Dockerfile b/webmails/roundcube/Dockerfile index aa52517f..b73b9e44 100644 --- a/webmails/roundcube/Dockerfile +++ b/webmails/roundcube/Dockerfile @@ -39,6 +39,8 @@ ENV ROUNDCUBE_URL https://github.com/roundcube/roundcubemail/releases/download/1 ENV CARDDAV_URL https://github.com/mstilkerich/rcmcarddav/releases/download/v4.2.2/carddav-v4.2.2.tar.gz +ENV TZ Etc/UTC + RUN set -eu \ && rm -rf /var/www/html/ \ && cd /var/www \ @@ -53,7 +55,8 @@ RUN set -eu \ && chown -R root:root . \ && chown www-data:www-data logs temp \ && chmod -R a+rX . \ - && a2enmod rewrite deflate expires headers + && a2enmod rewrite deflate expires headers \ + && echo date.timezone=${TZ} > /usr/local/etc/php/conf.d/timezone.ini COPY php.ini /php.ini COPY config.inc.php /var/www/html/config/