Skip to content

Commit

Permalink
Bump CNI version to support IPv6
Browse files Browse the repository at this point in the history
Fixes Kubernetes IPv6 problem on Docker

containernetworking/cni#531
  • Loading branch information
aojeagarcia committed Feb 25, 2019
1 parent 1a1ca90 commit ab4bd14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions images/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ RUN curl -fsSL "https://download.docker.com/linux/$(. /etc/os-release; echo "$ID

# Install CNI binaries to /opt/cni/bin
# TODO(bentheelder): doc why / what here
ARG CNI_VERSION="0.6.0"
ARG CNI_TARBALL="cni-plugins-${ARCH}-v${CNI_VERSION}.tgz"
ARG CNI_BASE_URL="https://storage.googleapis.com/kubernetes-release/network-plugins/"
ARG CNI_URL="${CNI_BASE_URL}${CNI_TARBALL}"
ARG CNI_VERSION="v0.7.4"
ARG CNI_TARBALL="cni-plugins-${ARCH}-${CNI_VERSION}.tgz"
ARG CNI_BASE_URL="https://github.com/containernetworking/plugins/releases/download/"
ARG CNI_URL="${CNI_BASE_URL}${CNI_VERSION}/${CNI_TARBALL}"
RUN curl -sSL --retry 5 --output /tmp/cni.tgz "${CNI_URL}" \
&& sha256sum /tmp/cni.tgz \
&& mkdir -p /opt/cni/bin \
Expand Down

0 comments on commit ab4bd14

Please sign in to comment.