Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 671
    • Issues 671
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 168
    • Merge Requests 168
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpine
  • aportsaports
  • Issues
  • #12057

Closed
Open
Opened Oct 30, 2020 by PICCORO Lenz McKAY@mckaygerhard

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#12057