diff --git a/build/noderesourcetopology-plugin/konflux.Dockerfile b/build/noderesourcetopology-plugin/konflux.Dockerfile index e81e26683..65a24cfa4 100644 --- a/build/noderesourcetopology-plugin/konflux.Dockerfile +++ b/build/noderesourcetopology-plugin/konflux.Dockerfile @@ -1,6 +1,4 @@ -ARG RHEL_VERSION=9.4 - -FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.23 AS builder +FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23@sha256:4805e1cb2d1bd9d3c5de5d6986056bbda94ca7b01642f721d83d26579d333c60 as builder WORKDIR /app @@ -8,7 +6,7 @@ COPY . . RUN GOEXPERIMENT=strictfipsruntime GOOS=linux CGO_ENABLED=1 go build -tags strictfipsruntime -o bin/noderesourcetopology-plugin cmd/noderesourcetopology-plugin/main.go -FROM registry.redhat.io/rhel9-4-els/rhel-minimal:${RHEL_VERSION} +FROM registry.redhat.io/rhel9-4-els/rhel-minimal:9.4@sha256:9577a9ed1707ba2a1a229559d188a015cf3b20b18e4b83541f427697d1c0b8df COPY --from=builder /app/bin/noderesourcetopology-plugin /bin/kube-scheduler WORKDIR /bin