File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ COPY ../internal/ internal/
2424RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build \
2525 CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/manager/main.go
2626
27- # Use distroless as minimal base image to package the manager binary
28- # Refer to https://github. com/GoogleContainerTools/distroless for more details
29- FROM gcr.io/distroless/static:nonroot
27+ # Use a minimal base image to package the manager binary
28+ # Refer to https://www.redhat. com/en/blog/introduction-ubi-micro for more details
29+ FROM registry.access.redhat.com/ubi9/ubi-micro
3030
3131ENV SUMMARY="CloudNativePG Barman plugin" \
3232 DESCRIPTION="Container image that provides the barman-cloud plugin"
@@ -35,7 +35,7 @@ LABEL summary="$SUMMARY" \
3535 description="$DESCRIPTION" \
3636 io.k8s.display-name="$SUMMARY" \
3737 io.k8s.description="$DESCRIPTION" \
38- name="CloudNativePG Barman plugin " \
38+ name="$SUMMARY " \
3939 vendor="CloudNativePG Contributors" \
4040 url="https://cloudnative-pg.io/" \
4141 version="" \
@@ -45,4 +45,4 @@ WORKDIR /
4545COPY --from=gobuilder /workspace/manager .
4646USER 65532:65532
4747
48- ENTRYPOINT ["/manager"]
48+ ENTRYPOINT ["/manager"]
You can’t perform that action at this time.
0 commit comments