From cae7b7887a90b716fd22622cc0c5bf82a040ba11 Mon Sep 17 00:00:00 2001 From: dougbtv Date: Mon, 11 Nov 2019 10:06:27 -0500 Subject: [PATCH] Adds COMMIT environment variable, also required along with VERSION --- Dockerfile.openshift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile.openshift b/Dockerfile.openshift index a68959be6..33c5f833a 100644 --- a/Dockerfile.openshift +++ b/Dockerfile.openshift @@ -4,7 +4,7 @@ ADD . /usr/src/multus-cni WORKDIR /usr/src/multus-cni ENV CGO_ENABLED=1 ENV GO111MODULE=off -ENV VERSION=rhel8 +ENV VERSION=rhel8 COMMIT=unset RUN ./build && \ cd /usr/src/multus-cni/bin WORKDIR / @@ -19,7 +19,6 @@ RUN ./build && \ WORKDIR /usr/src/multus-cni ENV GO111MODULE=off -RUN yum install -y git RUN ./build && \ cd /usr/src/multus-cni/bin WORKDIR /