Skip to content

Commit a11aec6

Browse files
NiccoloFeimnencia
authored andcommitted
chore: review
Signed-off-by: Niccolò Fei <[email protected]>
1 parent f467bc8 commit a11aec6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

containers/Dockerfile.sidecar

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ COPY ../internal/ internal/
3333
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build \
3434
CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/manager/main.go
3535

36-
# Use plug-barman-cloud-base to get the dependencies
37-
# pip will build everything inside /usr/ since this is the case
38-
# Copy every file into a destination that will then copy into the distroless container
36+
# Use plugin-barman-cloud-base to get the dependencies.
37+
# pip will build everything inside /usr, so we copy every file into a new
38+
# destination that will then be copied into the distroless container
3939
FROM ghcr.io/cloudnative-pg/plugin-barman-cloud-base:latest AS pythonbuilder
4040
# Prepare a new /usr/ directory with the files we'll need in the final image
4141
RUN mkdir /new-usr/ && \

0 commit comments

Comments
 (0)