Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.model-validation-agent.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the validation-agent binary
FROM registry.redhat.io/ubi9/go-toolset:9.8-1793621864@sha256:5f0dead6a152de46a19f51322ea8e06d0d9f282a4937d663cf5a226cb8744bc8 AS agent-builder
FROM registry.redhat.io/ubi9/go-toolset:9.8-1793736700@sha256:c2bd0309bf78ae317024fdfc5602a31704e0dba9572f6d4b0bd4b681033dc965 AS agent-builder
ARG TARGETOS
ARG TARGETARCH

Expand All @@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} \
go build -a -o validation-agent cmd/validation-agent/main.go

# Use minimal base image to package the validation-agent binary
FROM registry.access.redhat.com/ubi9-minimal@sha256:dfa0eb04abc59221544e74862432496add1f491f915c9b531880f91affc0e12c
FROM registry.access.redhat.com/ubi9-minimal@sha256:f26ef64172ea61f5ac5ba4be8c5c738bf8760b22b3e5148ce7b40f7308ab32db

WORKDIR /

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.model-validation-bundle.rh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ ARG BUNDLE_OVERLAY="olm"
ARG BUNDLE_GEN_FLAGS="-q --overwrite=false --version $VERSION --channels=$CHANNELS --default-channel=$DEFAULT_CHANNEL"
ARG IMG

FROM registry.redhat.io/openshift4/ose-cli-rhel9@sha256:2a8b58f028a9a4a0345ad1f809e47fb9913d7f77c731bfd785819e1c71be9472 AS oc-builder
FROM registry.redhat.io/openshift4/ose-cli-rhel9@sha256:6d6cb798e8b61d78106243dcdc7eb9e78413ba832ad835107261551c0be53158 AS oc-builder

FROM registry.redhat.io/openshift4/ose-operator-sdk-rhel9@sha256:6012f3f5590369881519a010ade8189d5919f58b057e5324f5b9f507034fbfe8 AS builder
FROM registry.redhat.io/openshift4/ose-operator-sdk-rhel9@sha256:165733747bcb3c89a45c2ddd548ac49bb67c4b312ce9c6de5cab4de71924d42a AS builder

COPY --from=oc-builder /usr/bin/oc /usr/bin/oc

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.model-validation.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM registry.redhat.io/ubi9/go-toolset:9.8-1793621864@sha256:5ee38c1f5fc2dfa5c5257928912cc26857f4186c07d836271a2d748dc79b083a AS builder
FROM registry.redhat.io/ubi9/go-toolset:9.8-1793736700@sha256:3eb2cd0fffcd7a8aba6e6395cdfce68bf6a555f5eb8aaf05a58907dcd9c954d0 AS builder
ARG TARGETOS
ARG TARGETARCH
ARG AGENT_IMG
Expand All @@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a \
-o manager cmd/main.go

# Use minimal base image to package the manager binary
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:dfa0eb04abc59221544e74862432496add1f491f915c9b531880f91affc0e12c
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:f26ef64172ea61f5ac5ba4be8c5c738bf8760b22b3e5148ce7b40f7308ab32db
WORKDIR /
COPY --from=builder /workspace/manager .
USER 65532:65532
Expand Down
Loading