forked from images/gitea-image-forge
Pack /etc/localtime then set timezone
This commit is contained in:
parent
626e296cc3
commit
7d65813779
2
build.py
2
build.py
@ -76,6 +76,8 @@ class Distroless:
|
|||||||
self.builder_install_packages = dd.get("builder-install-packages")
|
self.builder_install_packages = dd.get("builder-install-packages")
|
||||||
|
|
||||||
self.timezone = dd.get("timezone")
|
self.timezone = dd.get("timezone")
|
||||||
|
if self.timezone:
|
||||||
|
self.files.append("/etc/localtime")
|
||||||
|
|
||||||
self.copy = dd.get("copy", {})
|
self.copy = dd.get("copy", {})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user