feat(Dockerfile): manage system time zone (#1465)

* displays timezone in debug information

* fixes cs

* fixes debug_test.go
This commit is contained in:
David
2026-02-13 16:59:23 +08:00
committed by GitHub
parent 1195c37508
commit 37757315d0
6 changed files with 133 additions and 0 deletions

View File

@@ -79,6 +79,9 @@ RUN jlink \
# ----------------------------------------------
FROM debian:13-slim AS base-image-stage
ARG TIMEZONE=UTC
ENV TZ=$TIMEZONE
COPY --from=custom-jre-stage /custom-jre /opt/java
ENV PATH="/opt/java/bin:${PATH}"