Skip to content

Commit 4ebbae1

Browse files
committed
fix: move to internal distroless clone of base
1 parent e460a65 commit 4ebbae1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

containers/operator.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -mod=ven
4444
-a -o manager cmd/main.go
4545

4646
# Use distroless as minimal base image to package the manager binary
47-
# Refer to https://github.com/GoogleContainerTools/distroless for more details
48-
FROM gcr.io/distroless/static:nonroot
47+
# Refer to https://github.com/GoogleContainerTools/distroless/tree/main/base for more
48+
FROM nvcr.io/nvidia/distroless/go:v3.1.7
4949

5050
ARG VERSION
5151
ARG GIT_SHA
5252
ARG GO_VERSION
5353

5454
## https://github.com/opencontainers/image-spec/blob/main/annotations.md
55-
LABEL org.opencontainers.image.base.name="gcr.io/distroless/static:nonroot" \
55+
LABEL org.opencontainers.image.base.name="nvcr.io/nvidia/distroless/go:v3.1.7" \
5656
org.opencontainers.image.licenses="Apache-2.0" \
5757
org.opencontainers.image.title="skyhook-operator" \
5858
org.opencontainers.image.version="${VERSION}" \

0 commit comments

Comments
 (0)