Weave-kube doesn't need to depend on plugin repo any more

This commit is contained in:
Bryan Boreham committed 2016-11-03 17:42:39 +00:00
1 parent 5630a01a8c
commit 09628178e4
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ $(PLUGIN_UPTODATE): prog/plugin/Dockerfile.$(DOCKERHUB_USER) $(PLUGIN_EXE) $(WEA
$(SUDO) docker build -f prog/plugin/Dockerfile.$(DOCKERHUB_USER) -t $(PLUGIN_IMAGE) prog/plugin
touch $@
$(WEAVEKUBE_UPTODATE): prog/weave-kube/Dockerfile.$(DOCKERHUB_USER) prog/weave-kube/launch.sh $(KUBEPEERS_EXE) $(PLUGIN_UPTODATE)
$(WEAVEKUBE_UPTODATE): prog/weave-kube/Dockerfile.$(DOCKERHUB_USER) prog/weave-kube/launch.sh $(KUBEPEERS_EXE) $(WEAVER_UPTODATE)
cp $(KUBEPEERS_EXE) prog/weave-kube/
$(SUDO) docker build -f prog/weave-kube/Dockerfile.$(DOCKERHUB_USER) -t $(WEAVEKUBE_IMAGE) prog/weave-kube
touch $@
+1 -1
View File
@@ -1,3 +1,3 @@
FROM DOCKERHUB_USER/plugin
FROM DOCKERHUB_USER/weave
ADD ./launch.sh ./kube-peers /home/weave/
ENTRYPOINT ["/home/weave/launch.sh"]
+2 -2
View File
@@ -31,8 +31,8 @@ fi
install_cni_plugin() {
mkdir -p $1 || return 1
cp /home/weave/plugin $1/weave-net
cp /home/weave/plugin $1/weave-ipam
cp /usr/bin/weaveutil $1/weave-net
cp /usr/bin/weaveutil $1/weave-ipam
}
# Install CNI plugin binary to typical CNI bin location