Skip to content

Commit 2d83b21

Browse files
Merge pull request #343 from rbaturov/pin-image-digests-4-18
[release-4.18]: pin Dockerfile images
2 parents 72af087 + 8fa63e1 commit 2d83b21

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build/noderesourcetopology-plugin/konflux.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
ARG RHEL_VERSION=9.4
2-
3-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22 AS builder
1+
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23@sha256:4805e1cb2d1bd9d3c5de5d6986056bbda94ca7b01642f721d83d26579d333c60 as builder
42

53
WORKDIR /app
64

75
COPY . .
86

97
RUN GOEXPERIMENT=strictfipsruntime GOOS=linux CGO_ENABLED=1 go build -tags strictfipsruntime -o bin/noderesourcetopology-plugin cmd/noderesourcetopology-plugin/main.go
108

11-
FROM registry.redhat.io/rhel9-4-els/rhel-minimal:${RHEL_VERSION}
9+
FROM registry.redhat.io/rhel9-4-els/rhel-minimal:9.4@sha256:9577a9ed1707ba2a1a229559d188a015cf3b20b18e4b83541f427697d1c0b8df
1210

1311
COPY --from=builder /app/bin/noderesourcetopology-plugin /bin/kube-scheduler
1412
WORKDIR /bin

0 commit comments

Comments
 (0)