Merge pull request #40 from dougbtv/rhel8-set-commit

Adds COMMIT environment variable, also required along with VERSION
This commit is contained in:
OpenShift Merge Robot
2019-11-11 22:57:13 +01:00
committed by GitHub

View File

@@ -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 /