fix php timezone

This commit is contained in:
holzi1005 2024-11-16 16:10:06 +01:00
parent 11039e1020
commit e128c6d0c1

View file

@ -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