From b2645827b8cd60fd8a149019d333271f75fb0874 Mon Sep 17 00:00:00 2001 From: Leonardo Cecchi Date: Thu, 14 Aug 2025 22:21:52 +0200 Subject: [PATCH] fix(images): use bookworm for sidecar image (#476) 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 && \