Add TZ env usage to set local time zone.

This commit is contained in:
davidnewhall2
2020-06-13 18:46:02 -07:00
parent b46b31827e
commit b7c83eebbb
5 changed files with 135 additions and 13 deletions

View File

@@ -53,5 +53,8 @@ LABEL org.opencontainers.image.created="${BUILD_DATE}" \
COPY --from=builder /${BINARY}/${BINARY}.${ARCH}.${OS} /image
COPY --from=builder /${BINARY}/examples/${CONFIG_FILE}.example /etc/${BINARY}/${CONFIG_FILE}
COPY --from=builder /etc/ssl /etc/ssl
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
ENV TZ=UTC
ENTRYPOINT [ "/image" ]