mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-03-09 20:22:20 +01:00
Switch from python:3.13-slim-trixie to distroless/python3-debian13 for the sidecar container. The virtualenv approach now extracts runtime libraries from Debian packages using dpkg, eliminating the need for apt and package management tools in the final image. The image is 44% smaller (260MB vs 463MB on main, or 31% vs 377MB from the previous commit) with 70% fewer packages (35 vs 115) while maintaining zero HIGH/CRITICAL vulnerabilities. There is no shell or package manager in the final image, reducing the attack surface significantly. Based on Google's distroless best practices. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> |
||
|---|---|---|
| .. | ||
| Dockerfile.plugin | ||
| Dockerfile.sidecar | ||
| sidecar-requirements.in | ||
| sidecar-requirements.txt | ||