docker: add tzdata to set the timezone when running container

e.g:
-e "TZ=Europe/London"
This commit is contained in:
nadoo committed 2022-04-19 19:09:20 +08:00
1 parent a153c34e37
commit e862ba79f1
6 files changed
+14 -17

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ FROM alpine
COPY --from=build-env /src/glider /app/
RUN apk -U upgrade --no-cache \
&& apk --no-cache add bind-tools ca-certificates shadow \
&& apk --no-cache add bind-tools ca-certificates shadow tzdata \
&& groupadd -g 1000 glider \
&& useradd -r -u 1000 -g glider glider \
&& apk --no-cache del shadow \