From e128c6d0c15893e9fc0469a1347c7e0406db3f14 Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sat, 16 Nov 2024 16:10:06 +0100 Subject: [PATCH] fix php timezone --- jitsi_admin_application_dockerfile.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jitsi_admin_application_dockerfile.txt b/jitsi_admin_application_dockerfile.txt index 2c6597d..ecd9e96 100644 --- a/jitsi_admin_application_dockerfile.txt +++ b/jitsi_admin_application_dockerfile.txt @@ -28,7 +28,10 @@ RUN apk --no-cache add \ php83-xsl \ php83-pcntl \ php83-posix \ - php83-sockets + php83-sockets \ + && rm -rf /var/cache/apk/* + +RUN sed -i 's/^;date.timezone =.*$/date.timezone = "Europe/Berlin"/' /etc/php83/php.ini RUN mkdir /etc/service/crond \ && echo "#!/bin/sh -e" > /etc/service/crond/run \ @@ -79,8 +82,7 @@ RUN wget https://github.com/H2-invent/jitsi-admin/releases/download/${VERSION}/a RUN apk del unzip \ && rm artifact.zip \ - && rm -r var/cache \ - && rm -rf /var/cache/apk/* + && rm -r var/cache USER nobody