Skip to content

Ability to change the time zone in container #131

@Rpsl

Description

@Rpsl

By default container work with UTC time. It makes it difficult to work with cron scheduling.

I think it will may be fixed by add tzdata package into build image

    chmod +x /usr/bin/youtube-dl && \
    apk --no-cache add ca-certificates python ffmpeg
-    apk --no-cache add ca-certificates python ffmpeg
+    apk --no-cache add ca-certificates python ffmpeg tzdata

After that users can mount timezone file into container or use ENV TZ=.../... variables.
I'm not sure that's optimal way. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions