mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-08-30 23:56:05 +00:00
Merge pull request #40 from dougbtv/rhel8-set-commit
Adds COMMIT environment variable, also required along with VERSION
This commit is contained in:
commit
1cb7d0f9c0
@ -4,7 +4,7 @@ ADD . /usr/src/multus-cni
|
|||||||
WORKDIR /usr/src/multus-cni
|
WORKDIR /usr/src/multus-cni
|
||||||
ENV CGO_ENABLED=1
|
ENV CGO_ENABLED=1
|
||||||
ENV GO111MODULE=off
|
ENV GO111MODULE=off
|
||||||
ENV VERSION=rhel8
|
ENV VERSION=rhel8 COMMIT=unset
|
||||||
RUN ./build && \
|
RUN ./build && \
|
||||||
cd /usr/src/multus-cni/bin
|
cd /usr/src/multus-cni/bin
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
@ -19,7 +19,6 @@ RUN ./build && \
|
|||||||
|
|
||||||
WORKDIR /usr/src/multus-cni
|
WORKDIR /usr/src/multus-cni
|
||||||
ENV GO111MODULE=off
|
ENV GO111MODULE=off
|
||||||
RUN yum install -y git
|
|
||||||
RUN ./build && \
|
RUN ./build && \
|
||||||
cd /usr/src/multus-cni/bin
|
cd /usr/src/multus-cni/bin
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
Loading…
Reference in New Issue
Block a user