Exiled-Team / pterodactyl

GNU General Public License v3.0
0 stars 4 forks source link

TimeZone does not change inside docker #3

Open SrLicht opened 1 year ago

SrLicht commented 1 year ago

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 commented 1 year ago

Happy @ImUrX?