From c6a5bbab94f389d7ad0ad3468a50ab94c9db9e27 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 20 Aug 2019 16:45:23 +0200 Subject: Dockerfile*: fix build for CNI plugins Signed-off-by: Giuseppe Scrivano --- Dockerfile.centos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile.centos') diff --git a/Dockerfile.centos b/Dockerfile.centos index f0d184485..513c4bdfd 100644 --- a/Dockerfile.centos +++ b/Dockerfile.centos @@ -29,11 +29,11 @@ RUN yum -y install btrfs-progs-devel \ # Install CNI plugins 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" -- cgit v1.2.3-54-g00ecf