File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
1+ FROM registry.access.redhat.com/ubi9/go-toolset:1.25.8@sha256:8c5aeac74b4b60dc2e5e44f6b639186b7ec2fec8f0eb9a36d4a32dcf8e255f52 AS builder
22ARG TARGETOS=linux
33ARG TARGETARCH
44ARG CGO_ENABLED=0
@@ -25,7 +25,7 @@ RUN mkdir -p bin && \
2525 CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o bin/batch-gateway-apiserver ./cmd/apiserver
2626
2727# TODO: switch base image to gcr.io/distroless/static:nonroot before release
28- FROM registry.access.redhat.com/ubi9/ubi-micro:latest
28+ FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7@sha256:d91be7cea9f03a757d69ad7fcdfcd7849dba820110e7980d5e2a1f46ed06ea3b
2929WORKDIR /
3030COPY --from=builder /opt/app-root/src/bin/batch-gateway-apiserver /app/batch-gateway-apiserver
3131USER 1001:1001
Original file line number Diff line number Diff line change 1- FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
1+ FROM registry.access.redhat.com/ubi9/go-toolset:1.25.8@sha256:8c5aeac74b4b60dc2e5e44f6b639186b7ec2fec8f0eb9a36d4a32dcf8e255f52 AS builder
22ARG TARGETOS=linux
33ARG TARGETARCH
44ARG CGO_ENABLED=0
@@ -25,7 +25,7 @@ RUN mkdir -p bin && \
2525 CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o bin/batch-gateway-gc ./cmd/batch-gc
2626
2727# TODO: switch base image to gcr.io/distroless/static:nonroot before release
28- FROM registry.access.redhat.com/ubi9/ubi-micro:latest
28+ FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7@sha256:d91be7cea9f03a757d69ad7fcdfcd7849dba820110e7980d5e2a1f46ed06ea3b
2929WORKDIR /
3030COPY --from=builder /opt/app-root/src/bin/batch-gateway-gc /app/batch-gateway-gc
3131USER 1001:1001
Original file line number Diff line number Diff line change 1- FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
1+ FROM registry.access.redhat.com/ubi9/go-toolset:1.25.8@sha256:8c5aeac74b4b60dc2e5e44f6b639186b7ec2fec8f0eb9a36d4a32dcf8e255f52 AS builder
22ARG TARGETOS=linux
33ARG TARGETARCH
44ARG CGO_ENABLED=0
@@ -25,7 +25,7 @@ RUN mkdir -p bin && \
2525 CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o bin/batch-gateway-processor ./cmd/batch-processor
2626
2727# TODO: switch base image to gcr.io/distroless/static:nonroot before release
28- FROM registry.access.redhat.com/ubi9/ubi-micro:latest
28+ FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7@sha256:d91be7cea9f03a757d69ad7fcdfcd7849dba820110e7980d5e2a1f46ed06ea3b
2929WORKDIR /
3030COPY --from=builder /opt/app-root/src/bin/batch-gateway-processor /app/batch-gateway-processor
3131USER 1001:1001
You can’t perform that action at this time.
0 commit comments