From 248c36e2a4d22676ffb12bdfaed90b395b9b7077 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 27 Mar 2024 10:07:32 -0600 Subject: [PATCH] Update build to main branch CNI must match newly release `sriov-operator`: https://github.com/rancher/image-build-sriov-operator/pull/31 Signed-off-by: Michael Fritch --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index df1561c..4417d1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ ARG TAG="2.7.0" +ARG COMMIT="14fbf4a4addb9e946698edc7c5ea4cf20fe498e5" ARG BCI_IMAGE=registry.suse.com/bci/bci-base ARG GO_IMAGE=rancher/hardened-build-base:v1.21.8b1 @@ -12,7 +13,7 @@ ARG TAG RUN git clone --depth=1 https://github.com/k8snetworkplumbingwg/sriov-cni WORKDIR sriov-cni RUN git fetch --all --tags --prune -RUN git checkout tags/${TAG} -b ${TAG} +RUN git checkout ${COMMIT} -b ${TAG} RUN make clean && make build # Create the sriov-cni image