Add full-files to distrolessfile

This commit is contained in:
Mikhail Gordeev 2023-02-14 02:17:57 +03:00
parent aa2756bae2
commit ee9201f8d1

View File

@ -75,7 +75,12 @@ class Distroless:
self.library_packages = dd.get("library-packages", [])
self.exclude_regexes = dd.get("exclude-regexes", [])
self.builder_install_packages = dd.get("builder-install-packages")
self.builder_install_packages = dd.get("builder-install-packages", [])
for file in dd.get("full-files", []):
self.builder_install_packages.append(file)
self.files.append(file)
self.library_files.append(file)
self.timezone = dd.get("timezone")
if self.timezone: