[feature] Configurable timezone in containers (#2046)

This commit is contained in:
Charles Chin 2023-08-01 18:09:46 +08:00 committed by GitHub
commit 96dd0e75f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,8 @@ RUN yarn install --cwd web/source && \
# stage 3: build the executor container
FROM --platform=${TARGETPLATFORM} alpine:3.17.2 as executor
RUN apk add --no-cache tzdata
ENV TZ="UTC"
# switch to non-root user:group for GtS
USER 1000:1000