Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tzdata to server base image and binary #2277

Merged
merged 1 commit into from
Dec 21, 2021
Merged

Conversation

dnr
Copy link
Member

@dnr dnr commented Dec 8, 2021

What changed?
This adds tzdata to the server base image (as an Alpine package), so it will end up in the built server images. It also adds embedded tzdata to the server binary as a fallback (using Go's time/tzdata package), in case the binary is run in another context. In general we expect the Alpine package to be more up-to-date than Go's embedded tzdata (currently 2021e vs 2021a).

Why?
So the server can do time zone calculations.

How did you test it?
Built images + binaries.

Potential risks
No risks.

Is hotfix candidate?
No.

@dnr dnr requested a review from a team December 8, 2021 20:07
@@ -5,7 +5,7 @@ To build a new version of base docker image run:
make <base_image_name> DOCKER_IMAGE_TAG=<new_base_image_version>
```

Check [MakeFile](Makefile) for all possible `base_image_name` options.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants