From 74dd056055d118cb0b0f5ef09ff160bea76703e6 Mon Sep 17 00:00:00 2001 From: Alan Peng Date: Thu, 12 Mar 2020 09:18:23 +0800 Subject: [PATCH] Add flannel and cni-plugin --- Dockerfile-Linux | 1 + Dockerfile-Windows | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile-Linux b/Dockerfile-Linux index 8b5a584..5c5a771 100644 --- a/Dockerfile-Linux +++ b/Dockerfile-Linux @@ -1,3 +1,4 @@ FROM alpine RUN wget -O /kubernetes-node-windows-amd64.tar.gz https://dl.k8s.io/RELEASE_VERSION/kubernetes-node-windows-amd64.tar.gz RUN wget -O /flannel-windows-amd64.tar.gz https://github.com/coreos/flannel/releases/download/v0.11.0/flannel-v0.11.0-windows-amd64.tar.gz +RUN wget -O /cni-plugins-windows-amd64.tgz https://github.com/containernetworking/plugins/releases/download/v0.8.5/cni-plugins-windows-amd64-v0.8.5.tgz diff --git a/Dockerfile-Windows b/Dockerfile-Windows index ed73f4e..3eb25d8 100644 --- a/Dockerfile-Windows +++ b/Dockerfile-Windows @@ -1,3 +1,4 @@ FROM mcr.microsoft.com/windows/nanoserver:1809 RUN curl -L -o C:\ProgramData\kubernetes-node-windows-amd64.tar.gz https://dl.k8s.io/RELEASE_VERSION/kubernetes-node-windows-amd64.tar.gz RUN curl -L -o C:\ProgramData\flannel-windows-amd64.tar.gz https://github.com/coreos/flannel/releases/download/v0.11.0/flannel-v0.11.0-windows-amd64.tar.gz +RUN curl -L -o C:\ProgramData\cni-plugins-windows-amd64.tgz https://github.com/containernetworking/plugins/releases/download/v0.8.5/cni-plugins-windows-amd64-v0.8.5.tgz