Merge pull request #428 from mheon/update_cni_buildpath
Change path of CNI build script
This commit is contained in:
commit
4247f68764
2 changed files with 4 additions and 2 deletions
|
@ -56,11 +56,13 @@ RUN set -x \
|
|||
&& rm -rf "$GOPATH"
|
||||
|
||||
# Install CNI plugins
|
||||
ENV CNI_COMMIT d4bbce1865270cd2d2be558d6a23e63d314fe769
|
||||
RUN set -x \
|
||||
&& export GOPATH="$(mktemp -d)" \
|
||||
&& git clone https://github.com/containernetworking/cni.git "$GOPATH/src/github.com/containernetworking/cni" \
|
||||
&& cd "$GOPATH/src/github.com/containernetworking/cni" \
|
||||
&& ./build \
|
||||
&& git checkout -q "$CNI_COMMIT" \
|
||||
&& ./build.sh \
|
||||
&& mkdir -p /opt/cni/bin \
|
||||
&& cp bin/* /opt/cni/bin/ \
|
||||
&& rm -rf "$GOPATH"
|
||||
|
|
|
@ -207,7 +207,7 @@ cd $GOPATH/src/github.com/containernetworking/cni
|
|||
Build the `cni` binaries:
|
||||
|
||||
```
|
||||
./build
|
||||
./build.sh
|
||||
```
|
||||
|
||||
Output:
|
||||
|
|
Loading…
Reference in a new issue