Skip to content

feat(docker): use host system timezone instead of hardcoded Europe/Dublin#129

Open
taraxacum45e9a wants to merge 1 commit into
Xilinx:devfrom
taraxacum45e9a:pr-tz
Open

feat(docker): use host system timezone instead of hardcoded Europe/Dublin#129
taraxacum45e9a wants to merge 1 commit into
Xilinx:devfrom
taraxacum45e9a:pr-tz

Conversation

@taraxacum45e9a

Copy link
Copy Markdown

All Dockerfiles had TZ hardcoded as ENV TZ="Europe/Dublin", which baked the timezone permanently into the image and made it non-overridable at build time.

This changes TZ to a build ARG (defaulting to Europe/Dublin for backwards compatibility) and passes the host's timezone via --build-arg TZ=$(cat /etc/timezone) in run-with-docker.sh, so containers reflect the system timezone of whoever is building them.

Signed-off-by: Shen Jiamin <shen_jiamin@comp.nus.edu.sg>
@taraxacum45e9a taraxacum45e9a changed the title fix(docker): use host system timezone instead of hardcoded Europe/Dublin feat(docker): use host system timezone instead of hardcoded Europe/Dublin Jun 16, 2026
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.

1 participant