Skip to content

Commit bf44e00

Browse files
Merge pull request #156 from OlivierCazade/konflux-downstream-images
Adding args to configure downstream images
2 parents 52d1805 + 237e976 commit bf44e00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.downstream

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# We do not use --platform feature to auto fill this ARG because of incompatibility between podman and docker
22
ARG TARGETARCH=amd64
33
ARG COMMIT
4+
ARG IMAGE=registry.redhat.io/network-observability/network-observability-ebpf-agent-rhel9:1.8
5+
ARG AGENT_IMAGE=registry.redhat.io/network-observability/network-observability-ebpf-agent-rhel9:1.8
46

57
# Make kubectl & oc scripts available for copy
68
FROM registry.redhat.io/openshift4/ose-cli-rhel9:v4.17.0-202412032103.p0.g13001b0.assembly.stream.el9 as ose-cli
@@ -29,7 +31,7 @@ COPY .mk/ .mk/
2931
RUN GOARCH=$TARGETARCH make compile
3032

3133
# Embedd commands in case users want to pull it from collector image
32-
RUN USER=netobserv VERSION=main make oc-commands
34+
RUN USER=netobserv VERSION=main IMAGE="$IMAGE" AGENT_IMAGE="$AGENT_IMAGE" make oc-commands
3335

3436
# Prepare output dir
3537
RUN mkdir -p output

0 commit comments

Comments
 (0)