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

Honor a TZ env var to set the timezone of the docker image #100

Closed
mossroy opened this issue Oct 18, 2022 · 2 comments · Fixed by #101
Closed

Honor a TZ env var to set the timezone of the docker image #100

mossroy opened this issue Oct 18, 2022 · 2 comments · Fixed by #101
Labels
feature New feature or request

Comments

@mossroy
Copy link
Contributor

mossroy commented Oct 18, 2022

Logs of docker images are currently in UTC timezone.
In most docker images, it's possible to choose a different timezone by passing a "TZ" environment variable.
Could it be also supported in wait4x docker image?

From what I read, it might be as simple as adding the "tzdata" package in the Dockerfile (as your docker image is based on Alpine).
See https://jakeroid.com/blog/how-to-set-timezone-in-your-docker-image/

@atkrad atkrad added the feature New feature or request label Oct 18, 2022
@mossroy
Copy link
Contributor Author

mossroy commented Oct 18, 2022

I'll try to provide a PR for that

@atkrad
Copy link
Owner

atkrad commented Oct 18, 2022

I'll try to provide a PR for that

Thanks @mossroy, It would be nice.

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

Successfully merging a pull request may close this issue.

2 participants