We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21193c commit 7cb0ba0Copy full SHA for 7cb0ba0
infra/feast-operator/Dockerfile
@@ -1,5 +1,5 @@
1
# Build the manager binary
2
-FROM golang:1.21 AS builder
+FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi8/go-toolset:1.22 AS builder
3
ARG TARGETOS
4
ARG TARGETARCH
5
@@ -25,7 +25,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma
25
26
# Use distroless as minimal base image to package the manager binary
27
# Refer to https://github.com/GoogleContainerTools/distroless for more details
28
-FROM gcr.io/distroless/static:nonroot
+FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
29
WORKDIR /
30
COPY --from=builder /workspace/manager .
31
USER 65532:65532
0 commit comments