Skip to content

TimeZone does not change inside docker #3

@SrLicht

Description

@SrLicht

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions