-
Notifications
You must be signed in to change notification settings - Fork 0
Investigate timezone handling for shared dev images #7
Copy link
Copy link
Open
Labels
developer-experienceDeveloper experience and onboarding improvementsDeveloper experience and onboarding improvementsdockerContainer build and publish workContainer build and publish workdocumentationImprovements or additions to documentationImprovements or additions to documentationinfrastructureShared infrastructure and automation workShared infrastructure and automation workneeds-decisionRequires maintainer decision before executionRequires maintainer decision before execution
Metadata
Metadata
Assignees
Labels
developer-experienceDeveloper experience and onboarding improvementsDeveloper experience and onboarding improvementsdockerContainer build and publish workContainer build and publish workdocumentationImprovements or additions to documentationImprovements or additions to documentationinfrastructureShared infrastructure and automation workShared infrastructure and automation workneeds-decisionRequires maintainer decision before executionRequires maintainer decision before execution
Summary
Investigate whether the shared dev image should keep setting the timezone in
docker/ci/Dockerfile, or whether timezone preferences should move to downstreamdevcontainer.jsonconfiguration.Context
The current dev image sets:
That gives the image a system-level timezone default, but it also bakes a local preference into a shared image.
What we know
devcontainer.jsoncan setTZthroughremoteEnvorcontainerEnv.TZindevcontainer.jsondoes not rewrite/etc/localtimeor/etc/timezone..devcontainerconfig, so moving timezone preferences out of the image would mean documenting the expectation for downstream consumers.Questions to answer
/etc/localtimeto be set rather than justTZ?Done when