Weave-kube doesn't need to depend on plugin repo any more
This commit is contained in:
1 parent
5630a01a8c
commit
09628178e4
3 files changed
+4
-4
No files matched your search
@@ -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
|
$(SUDO) docker build -f prog/plugin/Dockerfile.$(DOCKERHUB_USER) -t $(PLUGIN_IMAGE) prog/plugin
|
||||||
touch $@
|
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/
|
cp $(KUBEPEERS_EXE) prog/weave-kube/
|
||||||
$(SUDO) docker build -f prog/weave-kube/Dockerfile.$(DOCKERHUB_USER) -t $(WEAVEKUBE_IMAGE) prog/weave-kube
|
$(SUDO) docker build -f prog/weave-kube/Dockerfile.$(DOCKERHUB_USER) -t $(WEAVEKUBE_IMAGE) prog/weave-kube
|
||||||
touch $@
|
touch $@
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
FROM DOCKERHUB_USER/plugin
|
FROM DOCKERHUB_USER/weave
|
||||||
ADD ./launch.sh ./kube-peers /home/weave/
|
ADD ./launch.sh ./kube-peers /home/weave/
|
||||||
ENTRYPOINT ["/home/weave/launch.sh"]
|
ENTRYPOINT ["/home/weave/launch.sh"]
|
||||||
@@ -31,8 +31,8 @@ fi
|
|||||||
|
|
||||||
install_cni_plugin() {
|
install_cni_plugin() {
|
||||||
mkdir -p $1 || return 1
|
mkdir -p $1 || return 1
|
||||||
cp /home/weave/plugin $1/weave-net
|
cp /usr/bin/weaveutil $1/weave-net
|
||||||
cp /home/weave/plugin $1/weave-ipam
|
cp /usr/bin/weaveutil $1/weave-ipam
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install CNI plugin binary to typical CNI bin location
|
# Install CNI plugin binary to typical CNI bin location
|
||||||
|
|||||||
Reference in new issue
Block a user