Skip to content

Commit

Permalink
Merge pull request #57 from s1061123/fips-master
Browse files Browse the repository at this point in the history
Add rhel9 binary
  • Loading branch information
openshift-merge-robot committed Jul 13, 2023
2 parents 6c4c54f + c07b2c4 commit 29f61f6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile.openshift
@@ -1,4 +1,9 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.20-openshift-4.14 AS builder
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.20-openshift-4.14 AS rhel9
WORKDIR /go/src/github.com/openshift/bond-cni
COPY . .
RUN ./build.sh

FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.14 AS rhel8
WORKDIR /go/src/github.com/openshift/bond-cni
COPY . .
RUN ./build.sh
Expand All @@ -8,4 +13,6 @@ LABEL io.k8s.display-name="bond-cni" \
io.k8s.description="This is an image containing the bond-cni executable" \
io.openshift.tags="openshift"

COPY --from=builder /go/src/github.com/openshift/bond-cni/bin/bond /bondcni/bond
COPY --from=rhel9 /go/src/github.com/openshift/bond-cni/bin/bond /bondcni/rhel9/bond
COPY --from=rhel9 /go/src/github.com/openshift/bond-cni/bin/bond /bondcni/bond
COPY --from=rhel8 /go/src/github.com/openshift/bond-cni/bin/bond /bondcni/rhel8/bond

0 comments on commit 29f61f6

Please sign in to comment.