fix cni plugins version variable

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-03-23 19:54:21 -04:00
parent a51a48d562
commit cfacaf709e
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -56,7 +56,7 @@ RUN buildDeps=' \
&& curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar -xzC /usr/local \ && curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar -xzC /usr/local \
&& export PATH=/go/bin:/usr/local/go/bin:$PATH \ && export PATH=/go/bin:/usr/local/go/bin:$PATH \
&& export GOPATH="$(mktemp -d)" \ && export GOPATH="$(mktemp -d)" \
&& git clone --depth 1 -b "$CNI_PLUGINS_VERSION" https://github.com/containernetworking/plugins.git "${GOPATH}/src/github.com/containernetworking/plugins" \ && git clone --depth 1 -b "$PLUGINS_VERSION" https://github.com/containernetworking/plugins.git "${GOPATH}/src/github.com/containernetworking/plugins" \
&& ( \ && ( \
cd "${GOPATH}/src/github.com/containernetworking/plugins" \ cd "${GOPATH}/src/github.com/containernetworking/plugins" \
&& ./build.sh \ && ./build.sh \