tzdata corrupted files in lasted releases of alpine
as dicuss in https://lists.alpinelinux.org/~alpine/users/%3CCAEpSaE0Qj32d-6e6mk3AG6dXouSv2MAtPR8bGJra0i15oaLj2A%40mail.gmail.com%3E#%3Cem69ec0234-0de9-4a25-a044-95cac558748b@elzian%3E tzdata has some problems ..
on docker alpine, since 3.10 to 3.12:
FROM alpine:3.11.0
ENV TZ=Asia/Jerusalem
RUN apk add -U tzdata
RUN cp /usr/share/zoneinfo/Asia/Jerusalem /etc/localtime
RUN apk update
RUN apk upgrade
RUN apk add ca-certificates && update-ca-certificates
gets the date in IST timezone (2 hours from utc), example :
Tue Oct 27 *09*:06:24 *IST* 2020
Same image created now is on UTC timezone, but does not even state "UTC"
,example (run at the very same time):
Tue Oct 27 *07*:06:24 2020
resolved this by copying /usr/share/zoneinfo/Asia/Jerusalem From old image to the new container (file size is also double), but this of course is not a good solution