From 38958049f4749e8aad5ac4c354ffb3150fb3a523 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 4 Aug 2016 17:03:35 +0100 Subject: [PATCH 1/2] Remove -f flag from 'docker tag' commands This flag was deprecated in Docker 1.10 and removed in Docker 1.12. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e71fb22a..69e0dc59 100644 --- a/Makefile +++ b/Makefile @@ -165,10 +165,10 @@ $(RUNNER_EXE): tools/.git make -C tools/runner $(PUBLISH): publish_%: $(IMAGES_UPTODATE) - $(SUDO) DOCKER_HOST=$(DOCKER_HOST) docker tag -f $(DOCKERHUB_USER)/$* $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION) - $(SUDO) DOCKER_HOST=$(DOCKER_HOST) docker push $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION) + $(SUDO) DOCKER_HOST=$(DOCKER_HOST) docker tag $(DOCKERHUB_USER)/$* $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION) + $(SUDO) DOCKER_HOST=$(DOCKER_HOST) docker push $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION) ifneq ($(UPDATE_LATEST),false) - $(SUDO) DOCKER_HOST=$(DOCKER_HOST) docker push $(DOCKERHUB_USER)/$*:latest + $(SUDO) DOCKER_HOST=$(DOCKER_HOST) docker push $(DOCKERHUB_USER)/$*:latest endif publish: $(PUBLISH) From 0cbf5ca1308718b0ad5385a0ce210ca22eb7fe89 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 8 Aug 2016 17:20:25 +0100 Subject: [PATCH 2/2] Allow 'weave create-bridge', if the user insists. For example this is used when setting up CNI for Kubernetes, in an environment where we know none of the bad consequences apply. --- weave | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/weave b/weave index a5ee0746..193cc4c8 100755 --- a/weave +++ b/weave @@ -1933,22 +1933,24 @@ case "$COMMAND" in # intentionally undocumented since it assumes knowledge of weave # internals create-bridge) - cat 1>&2 <&2 <&2 <&2 <