Remove output formats from the Yaml file, put in CLI

This removes outputs from yaml, instead you can do
```
moby build -output tar -output qcow2 file.yaml
```
or alternative syntax
```
moby build -output tar,qcow2 file.yaml
```

In future we may change this to be available in a `moby package`
step, but lets try this for now.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-05-25 16:30:48 +01:00
parent b47f3dec4a
commit cbbedbfc57
7 changed files with 144 additions and 107 deletions

View File

@@ -22,7 +22,7 @@ lint:
@go test github.com/moby/tool/cmd/moby
test: moby
./moby build test/test.yml
./moby build -output tar test/test.yml
rm moby test.tar
PHONY: install