Skip to content

Commit bb89d46

Browse files
authored
chore(containers): use ubi-micro for operator image (#61)
Signed-off-by: Jonathan Gonzalez V. <[email protected]>
1 parent e5a004d commit bb89d46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

containers/Dockerfile.plugin

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ ENV GOMODCACHE=/go/pkg/mod
2727
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build \
2828
CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/manager/main.go
2929

30-
# Use distroless as minimal base image to package the manager binary
31-
# Refer to https://github.com/GoogleContainerTools/distroless for more details
32-
FROM gcr.io/distroless/static:nonroot
30+
# Use a minimal base image to package the manager binary
31+
# Refer to https://www.redhat.com/en/blog/introduction-ubi-micro for more details
32+
FROM registry.access.redhat.com/ubi9/ubi-micro
3333

3434
ENV SUMMARY="CloudNativePG Barman plugin" \
3535
DESCRIPTION="Container image that provides the barman-cloud plugin"
@@ -38,7 +38,7 @@ LABEL summary="$SUMMARY" \
3838
description="$DESCRIPTION" \
3939
io.k8s.display-name="$SUMMARY" \
4040
io.k8s.description="$DESCRIPTION" \
41-
name="CloudNativePG Barman plugin" \
41+
name="$SUMMARY" \
4242
vendor="CloudNativePG Contributors" \
4343
url="https://cloudnative-pg.io/" \
4444
version="" \

0 commit comments

Comments
 (0)