From 826f661efd630e06f13deaf23160ce88b15ad7b6 Mon Sep 17 00:00:00 2001 From: Leonardo Cecchi Date: Thu, 14 Aug 2025 20:50:06 +0200 Subject: [PATCH] fix(images): use bookworm for sidecar image We were using debian trixie as a building environment for barman-cloud, but we were still using bookworm as a base image. This caused inconsistencies in the sidecar image. Now we always use bookworm. Signed-off-by: Leonardo Cecchi --- containers/Dockerfile.sidecar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/Dockerfile.sidecar b/containers/Dockerfile.sidecar index 73743d2..0c4f6a3 100644 --- a/containers/Dockerfile.sidecar +++ b/containers/Dockerfile.sidecar @@ -37,7 +37,7 @@ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache # pip will build everything inside /usr/ since this is the case # we should build and then copy every file into a destination that will # then copy into the distroless container -FROM python:3.13-slim AS pythonbuilder +FROM python:3.13-slim-bookworm AS pythonbuilder COPY containers/sidecar-requirements.txt . RUN apt-get update && \ apt-get install -y postgresql-common build-essential && \