Skip to content

Commit

Permalink
Merge pull request #11 from openshift-bot/art-consistency-openshift-4…
Browse files Browse the repository at this point in the history
….6-ose-multus-route-override-cni

Updating ose-multus-route-override-cni builder & base images to be consistent with ART
  • Loading branch information
openshift-merge-robot committed Jan 14, 2021
2 parents 4cc155c + 47912b6 commit da944e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.openshift
@@ -1,5 +1,5 @@
# This dockerfile is used for building for OpenShift
FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-1.15-openshift-4.6 as rhel8
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.15-openshift-4.6 AS rhel8
ADD . /usr/src/route-override
WORKDIR /usr/src/route-override
ENV CGO_ENABLED=0
Expand All @@ -8,15 +8,15 @@ ENV VERSION=rhel8 COMMIT=unset
RUN ./build_linux.sh
WORKDIR /

FROM registry.svc.ci.openshift.org/ocp/builder:rhel-7-golang-1.15-openshift-4.6 AS rhel7
FROM registry.ci.openshift.org/ocp/builder:rhel-7-golang-1.15-openshift-4.6 AS rhel7
ADD . /usr/src/route-override
WORKDIR /usr/src/route-override
ENV CGO_ENABLED=0
ENV GO111MODULE=off
RUN ./build_linux.sh
WORKDIR /

FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.6
FROM registry.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.6
COPY --from=rhel7 /usr/src/route-override/bin/route-override /usr/src/route-override/rhel7/bin/route-override
COPY --from=rhel8 /usr/src/route-override/bin/route-override /usr/src/route-override/bin/route-override
COPY --from=rhel8 /usr/src/route-override/bin/route-override /usr/src/route-override/rhel8/bin/route-override
Expand Down

0 comments on commit da944e1

Please sign in to comment.