You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm noticing that the system timezone gets reset to UTC if I cleanup and delete the tzdata package once I'm done setting up and confirming the correct timezone.
Not sure if the last step in that wiki needs to be removed or if I did something incorrectly to maintain the timezone preference?
Will result in image with UTC: RUN apk add --update tzdata && cp /usr/share/zoneinfo/America/New_York /etc/localtime && echo "America/New_York" > /etc/timezone && apk del tzdata && rm -rf /var/cache/apk/* && rm -rf /usr/local/share/.cache
Will result in image with EDT: RUN apk add --update tzdata && cp /usr/share/zoneinfo/America/New_York /etc/localtime && echo "America/New_York" > /etc/timezone && rm -rf /var/cache/apk/* && rm -rf /usr/local/share/.cache
The text was updated successfully, but these errors were encountered:
aarch64 Bump version 3.8.1 23 days ago
armhf Bump version 3.8.1 23 days ago
ppc64le Bump version 3.8.1 23 days ago
s390x Bump version 3.8.1 23 days ago
x86 Bump version 3.8.1 23 days ago
I'm using
node:10.1-alpine
.Following the steps from this Wiki page to setup the OS timezone: https://wiki.alpinelinux.org/wiki/Setting_the_timezone
I'm noticing that the system timezone gets reset to UTC if I cleanup and delete the tzdata package once I'm done setting up and confirming the correct timezone.
Not sure if the last step in that wiki needs to be removed or if I did something incorrectly to maintain the timezone preference?
Will result in image with UTC:
RUN apk add --update tzdata && cp /usr/share/zoneinfo/America/New_York /etc/localtime && echo "America/New_York" > /etc/timezone && apk del tzdata && rm -rf /var/cache/apk/* && rm -rf /usr/local/share/.cache
Will result in image with EDT:
RUN apk add --update tzdata && cp /usr/share/zoneinfo/America/New_York /etc/localtime && echo "America/New_York" > /etc/timezone && rm -rf /var/cache/apk/* && rm -rf /usr/local/share/.cache
The text was updated successfully, but these errors were encountered: