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

[Feature] Add tzdata into docker image to support customize timezone through environment variables "TZ" #461

Open
bobwng opened this issue Jun 29, 2023 · 0 comments

Comments

@bobwng
Copy link

bobwng commented Jun 29, 2023

Is your feature request related to a problem? Please describe.
We have no way to setup correct timezone base on current docker image without any modification.

Describe the solution you'd like
Add below line into Dockerfile:

RUN apk add tzdata

Or modiby below line

RUN chmod -x /wait-for.sh && chmod -x /docker-entrypoint.sh && apk add --update --no-cache git nginx s6 curl sudo \

to:

RUN chmod -x /wait-for.sh && chmod -x /docker-entrypoint.sh && apk add --update --no-cache git nginx s6 curl sudo tzdata \

And then we can use environment variables TZ to customize the timezone.

Additional context

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

No branches or pull requests

1 participant