hashicorp / nomad

Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
https://www.nomadproject.io/
Other
14.92k stars 1.95k forks source link

Add tzdata to Nomad Docker image for out of the box DST support #23900

Open elrzn opened 2 months ago

elrzn commented 2 months ago

Hi everyone,

As documented periodic.time_zone makes use of Go's LoadLocation() which needs the time zone database to be available.

https://developer.hashicorp.com/nomad/docs/job-specification/periodic#time_zone https://developer.hashicorp.com/nomad/docs/job-specification/periodic#daylight-saving-time

At the moment, this isn't included in the Nomad Docker image. This means we're limited to UTC and can't make use of Daylight Saving Time adjustments.

Would it be possible to add the tzdata package to the Docker image by default?

Thanks for considering this!

beatkind commented 1 month ago

Hej @tgross, is there any update on this topic?

jrasell commented 1 month ago

Hi @elrzn and thanks for raising this issue.

This seems like a sensible idea, so I will move this onto our roadmapping board. @beatkind other than being put onto our board, there is no further update at this moment.