Skip to content

Commit a1f3df6

Browse files
Fix setting the timezone in alpine container (#33)
1 parent a377e8c commit a1f3df6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ RUN sed -i 's/jira>=1.0.10/jira>=1.0.10,<1.0.15/g' setup.py && \
2626

2727
FROM node:alpine
2828
LABEL maintainer="BitSensor <[email protected]>"
29-
# Set this environment variable to True to set timezone on container start.
30-
ENV SET_CONTAINER_TIMEZONE False
31-
# Default container timezone as found under the directory /usr/share/zoneinfo/.
32-
ENV CONTAINER_TIMEZONE Etc/UTC
29+
# Set timezone for this container
30+
ENV TZ Etc/UTC
3331

3432
RUN apk add --update --no-cache curl tzdata python2 make
3533

0 commit comments

Comments
 (0)