plugin-barman-cloud/containers
Marco Nenciarini c8220fb3a9
fix: automate library dependency detection using distroless package list
Replace the manual library exclusion list with automated dependency
resolution using apt-cache. The approach queries the dependency tree
of packages in the distroless base image (from GoogleContainerTools
distroless configs) and excludes them from our requirements.

This reduces the image to 260MB (down from 270MB) by avoiding
duplicate libraries already present in the distroless base. Only 7
packages are now downloaded instead of manually maintaining a list
of 13 exclusions.

The package list is sourced from distroless upstream configs and
documented with URLs, making it maintainable as distroless evolves.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-01-29 13:39:48 +01:00
..
Dockerfile.plugin chore(deps): update golang docker tag to v1.25.6 (#734) 2026-01-18 22:33:55 +01:00
Dockerfile.sidecar fix: automate library dependency detection using distroless package list 2026-01-29 13:39:48 +01:00
sidecar-requirements.in chore(deps): update dependency barman to v3.17.0 (#720) 2026-01-10 16:01:49 +01:00
sidecar-requirements.txt chore(deps): refresh pip-compile outputs (#704) 2026-01-13 18:03:43 +01:00