It is a very convenient way to configure the timezone, but it has a big downside:
It is only working on Linux hosts. Even macOS hosts, which are unix based, do not support this mechanism because /etc/timezone
is not accessible.
I prefer to pass the TZ variable and use this mechanism in my own image.