summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_multus/multus/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/vagrant/kubeadm_multus/multus/setup.sh')
-rw-r--r--src/vagrant/kubeadm_multus/multus/setup.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vagrant/kubeadm_multus/multus/setup.sh b/src/vagrant/kubeadm_multus/multus/setup.sh
new file mode 100644
index 0000000..4729993
--- /dev/null
+++ b/src/vagrant/kubeadm_multus/multus/setup.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+BUILD=`pwd`
+
+sudo docker build -t multus.build . -f Dockerfile.build
+sudo docker run -v $BUILD:/build -ti multus.build cp multus-cni/bin/multus /build
+sudo docker build -t openretriever/cnimultus . -f Dockerfile.multus
+sudo docker push openretriever/cnimultus
+rm -rf multus