mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Feature request: Implement System Variables TZ, UID, GID, and UMASK #53
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JesterEE on GitHub (Jul 25, 2020).
Originally assigned to: @qdm12 on GitHub.
What's the feature?
Pass and respect the system variables: TZ, UID, GID, and UMASK
Why do you need this feature?
Keep the host file permission nice and clean when operating docker as an alternate user.
Extra information?
Similar to what is done by Linuxserver.io in their docker images (and what is done in the Gluetun docker).
@qdm12 commented on GitHub (Jul 25, 2020):
Hello!
For UID, GID and UMASK, I don't think that's possible because some files built-in the image are already owned by
1000:1000, and it's not possible to change their ownership at runtime. The only way would be to rebuild the image but that's more trouble.For
TZi didn't document it but it should already work, for exampleTZ=America/Montreal. Let's keep it opened so I document it.