From 048dc12eb0aed9dcbe77a546fec61abe7fe0ccab Mon Sep 17 00:00:00 2001 From: DeusMaximus Date: Sun, 16 Nov 2025 00:38:49 +1000 Subject: [PATCH] Add timezone environment variable to Dockerfile Add tzdata and set the timezone in the Dockerfile. --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1ad1cd3..f8008f6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -37,7 +37,7 @@ RUN curl -Lo ZeroTierOne.tar.gz https://codeload.github.com/zerotier/ZeroTierOne ## Main FROM docker.io/alpine:latest -RUN apk add --update --no-cache python3 sudo netcat-openbsd libressl-dev openssh ca-certificates libc6-compat libstdc++ &&\ +RUN apk add --update --no-cache tzdata python3 sudo netcat-openbsd libressl-dev openssh ca-certificates libc6-compat libstdc++ &&\ rm -rf /var/cache/apk/* /tmp/* COPY --chmod=700 ./entrypoint.py /opt/zoraxy/ @@ -50,6 +50,7 @@ RUN mkdir -p /opt/zoraxy/plugin/ &&\ WORKDIR /opt/zoraxy/config/ +ENV TZ="Etc/UTC" ENV ZEROTIER="false" ENV AUTORENEW="86400"