From a11aec6e32f7c355bb18f1b615efacd49efe2f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Mon, 18 Aug 2025 11:29:43 +0200 Subject: [PATCH] chore: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Niccolò Fei --- containers/Dockerfile.sidecar | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/containers/Dockerfile.sidecar b/containers/Dockerfile.sidecar index 8314c31..d5484cc 100644 --- a/containers/Dockerfile.sidecar +++ b/containers/Dockerfile.sidecar @@ -33,9 +33,9 @@ COPY ../internal/ internal/ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build \ CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/manager/main.go -# Use plug-barman-cloud-base to get the dependencies -# pip will build everything inside /usr/ since this is the case -# Copy every file into a destination that will then copy into the distroless container +# Use plugin-barman-cloud-base to get the dependencies. +# pip will build everything inside /usr, so we copy every file into a new +# destination that will then be copied into the distroless container FROM ghcr.io/cloudnative-pg/plugin-barman-cloud-base:latest AS pythonbuilder # Prepare a new /usr/ directory with the files we'll need in the final image RUN mkdir /new-usr/ && \