Browse Source

added iptables package (required by containernetworking/plugins)

Fabian Peter Hammerle 4 years ago
parent
commit
912844db16
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -1,8 +1,10 @@
 FROM debian:buster-slim
 
+# > cni.go:364] [...] exec: "iptables": executable file not found in $PATH
 RUN apt-get update && apt-get install --yes --no-install-recommends \
     ca-certificates \
-    curl
+    curl \
+    iptables
 
 ARG KUBERNETES_VERSION=v1.17.0
 RUN curl --location https://dl.k8s.io/$KUBERNETES_VERSION/kubernetes-node-linux-amd64.tar.gz \