summaryrefslogtreecommitdiff
path: root/Dockerfile.centos
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.centos')
-rw-r--r--Dockerfile.centos6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile.centos b/Dockerfile.centos
index bbb582840..513c4bdfd 100644
--- a/Dockerfile.centos
+++ b/Dockerfile.centos
@@ -27,13 +27,13 @@ RUN yum -y install btrfs-progs-devel \
iptables && yum clean all
# Install CNI plugins
-ENV CNI_COMMIT 7480240de9749f9a0a5c8614b17f1f03e0c06ab9
+ENV CNI_COMMIT 485be65581341430f9106a194a98f0f2412245fb
RUN set -x \
- && export GOPATH="$(mktemp -d)" \
+ && export GOPATH="$(mktemp -d)" GOCACHE="$(mktemp -d)" \
&& git clone https://github.com/containernetworking/plugins.git "$GOPATH/src/github.com/containernetworking/plugins" \
&& cd "$GOPATH/src/github.com/containernetworking/plugins" \
&& git checkout -q "$CNI_COMMIT" \
- && ./build.sh \
+ && ./build_linux.sh \
&& mkdir -p /usr/libexec/cni \
&& cp bin/* /usr/libexec/cni \
&& rm -rf "$GOPATH"