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

TimeZone does not change inside docker #3

Open
SrLicht opened this issue Dec 24, 2022 · 1 comment · May be fixed by #4
Open

TimeZone does not change inside docker #3

SrLicht opened this issue Dec 24, 2022 · 1 comment · May be fixed by #4

Comments

@SrLicht
Copy link

SrLicht commented Dec 24, 2022

From what I investigated it is partly a problem of Pterodactyl because now it is necessary to install tzdata in the docker.

Here's how parkervcp does it from what I saw at https://github.com/parkervcp/yolks

in entrypoint.sh

# Default the TZ environment variable to UTC.
TZ=${TZ:-UTC}
export TZ

and in Dockerfile

RUN apt-get update && apt-get install -y tzdata
@SrLicht
Copy link
Author

SrLicht commented Dec 24, 2022

Happy @ImUrX?

@SrLicht SrLicht linked a pull request Dec 24, 2022 that will close this issue
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 a pull request may close this issue.

1 participant