Update Moby tool

- rename img→raw and gcp-img→gcp
- support creating `docker` outputs, see https://github.com/moby/tool/tree/master/examples
- less memory usage via streaming outputs
- allow specification of multiple yaml files in a single command line, improves modularity
- notary fixes and local cache, so does not pull as much
- you now have to specify the full filename of the yaml file, you cannot omit the suffix

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-06-07 16:53:02 +01:00
parent 3cc6c36837
commit c8a3fd0e7a
14 changed files with 20 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ endif
PREFIX?=/usr/local/
MOBY_COMMIT=3a16c02f100d1e01ea405a33d21a02de2a85904f
MOBY_COMMIT=e0aac90f4476c7dadfec9ab4116cf1363e51ce77
bin/moby: Makefile | bin
docker run --rm --log-driver=none $(CROSS) $(GO_COMPILE) --clone-path github.com/moby/tool --clone https://github.com/moby/tool.git --commit $(MOBY_COMMIT) --package github.com/moby/tool/cmd/moby --ldflags "-X main.GitCommit=$(GIT_COMMIT) -X main.Version=$(VERSION)" -o $@ > tmp_moby_bin.tar
tar xf tmp_moby_bin.tar > $@