Dockerfile: move to containernetworking/plugins

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-05-25 18:13:53 +02:00
parent 0472c33344
commit f51b0a10c6
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -56,11 +56,11 @@ RUN set -x \
&& rm -rf "$GOPATH" && rm -rf "$GOPATH"
# Install CNI plugins # Install CNI plugins
ENV CNI_COMMIT d4bbce1865270cd2d2be558d6a23e63d314fe769 ENV CNI_COMMIT dcf7368eeab15e2affc6256f0bb1e84dd46a34de
RUN set -x \ RUN set -x \
&& export GOPATH="$(mktemp -d)" \ && export GOPATH="$(mktemp -d)" \
&& git clone https://github.com/containernetworking/cni.git "$GOPATH/src/github.com/containernetworking/cni" \ && git clone https://github.com/containernetworking/plugins.git "$GOPATH/src/github.com/containernetworking/plugins" \
&& cd "$GOPATH/src/github.com/containernetworking/cni" \ && cd "$GOPATH/src/github.com/containernetworking/plugins" \
&& git checkout -q "$CNI_COMMIT" \ && git checkout -q "$CNI_COMMIT" \
&& ./build.sh \ && ./build.sh \
&& mkdir -p /opt/cni/bin \ && mkdir -p /opt/cni/bin \