c3648a9c94
This is synonymous with `docker run --cidfile=FILE` and writes the digest of
the newly built image to the named file. This is intended to be used by build
systems which want to avoid tagging (perhaps because they are in CI or
otherwise want to avoid fixed names which can clash) by enabling e.g. Makefile
constructs like:
image.id: Dockerfile
docker build --iidfile=image.id .
do-some-more-stuff: image.id
do-stuff-with <image.id
Currently the only way to achieve this is to use `docker build -q` and capture
the stdout, but at the expense of losing the build output.
In non-silent mode (without `-q`) with API >= v1.29 the caller will now see a
`JSONMessage` with the `Aux` field containing a `types.BuildResult` in the
output stream for each image/layer produced during the build, with the final
one being the end product. Having all of the intermediate images might be
interesting in some cases.
In silent mode (with `-q`) there is no change, on success the only output will
be the resulting image digest as it was previosuly.
There was no wrapper to just output an Aux section without enclosing it in a
Progress, so add one here.
Added some tests to integration cli tests.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
47 lines
2.9 KiB
Plaintext
47 lines
2.9 KiB
Plaintext
github.com/Azure/go-ansiterm 388960b655244e76e24c75f48631564eaefade62
|
|
github.com/Microsoft/go-winio 7c7d6b461cb10872c1138a0d7f3acf9a41b5c353 https://github.com/dgageot/go-winio.git
|
|
github.com/Nvveen/Gotty a8b993ba6abdb0e0c12b0125c603323a71c7790c https://github.com/ijc25/Gotty
|
|
github.com/Sirupsen/logrus v0.11.0
|
|
github.com/agl/ed25519 d2b94fd789ea21d12fac1a4443dd3a3f79cda72c
|
|
github.com/coreos/etcd 824277cb3a577a0e8c829ca9ec557b973fe06d20
|
|
github.com/davecgh/go-spew 346938d642f2ec3594ed81d874461961cd0faa76
|
|
github.com/docker/distribution b38e5838b7b2f2ad48e06ec4b500011976080621
|
|
github.com/docker/docker d624f9a7b00419179eb0e7e81f2894dde0752873
|
|
github.com/docker/docker-credential-helpers v0.5.0
|
|
github.com/docker/go d30aec9fd63c35133f8f79c3412ad91a3b08be06
|
|
github.com/docker/go-connections e15c02316c12de00874640cd76311849de2aeed5
|
|
github.com/docker/go-events 18b43f1bc85d9cdd42c05a6cd2d444c7a200a894
|
|
github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1
|
|
github.com/docker/libnetwork b13e0604016a4944025aaff521d9c125850b0d04
|
|
github.com/docker/libtrust 9cbd2a1374f46905c68a4eb3694a130610adc62a
|
|
github.com/docker/notary v0.4.2
|
|
github.com/docker/swarmkit b19d028de0a6e9ca281afeb76cea2544b9edd839
|
|
github.com/flynn-archive/go-shlex 3f9db97f856818214da2e1057f8ad84803971cff
|
|
github.com/gogo/protobuf 7efa791bd276fd4db00867cbd982b552627c24cb
|
|
github.com/golang/protobuf 8ee79997227bf9b34611aee7946ae64735e6fd93
|
|
github.com/gorilla/context v1.1
|
|
github.com/gorilla/mux v1.1
|
|
github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
|
|
github.com/mattn/go-shellwords v1.0.3
|
|
github.com/miekg/pkcs11 df8ae6ca730422dba20c768ff38ef7d79077a59f
|
|
github.com/mitchellh/mapstructure f3009df150dadf309fdee4a54ed65c124afad715
|
|
github.com/opencontainers/go-digest a6d0ee40d4207ea02364bd3b9e8e77b9159ba1eb
|
|
github.com/opencontainers/runc 9c2d8d184e5da67c95d601382adf14862e4f2228 https://github.com/docker/runc.git
|
|
github.com/opencontainers/selinux ba1aefe8057f1d0cfb8e88d0ec1dc85925ef987d
|
|
github.com/pkg/errors 839d9e913e063e28dfd0e6c7b7512793e0a48be9
|
|
github.com/pmezard/go-difflib 792786c7400a136282c1664665ae0a8db921c6c2
|
|
github.com/spf13/cobra v1.5.1 https://github.com/dnephin/cobra.git
|
|
github.com/spf13/pflag 9ff6c6923cfffbcd502984b8e0c80539a94968b7
|
|
github.com/stretchr/testify 4d4bfba8f1d1027c4fdbe371823030df51419987
|
|
github.com/xeipuuv/gojsonpointer e0fe6f68307607d540ed8eac07a342c33fa1b54a
|
|
github.com/xeipuuv/gojsonreference e02fc20de94c78484cd5ffb007f8af96be030a45
|
|
github.com/xeipuuv/gojsonschema 93e72a773fade158921402d6a24c819b48aba29d
|
|
golang.org/x/crypto 3fbbcd23f1cb824e69491a5930cfeff09b12f4d2
|
|
golang.org/x/net c427ad74c6d7a814201695e9ffde0c5d400a7674
|
|
golang.org/x/sys 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9
|
|
golang.org/x/text f72d8390a633d5dfb0cc84043294db9f6c935756
|
|
golang.org/x/time a4bde12657593d5e90d0533a3e4fd95e635124cb
|
|
google.golang.org/grpc v1.0.4
|
|
gopkg.in/yaml.v2 4c78c975fe7c825c6d1466c42be594d1d6f3aba6
|
|
|