1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder
Boaz Shuster 60b4db7eb1 Change the quiet flag behavior in the build command
Right now, the quiet (-q, --quiet) flag ignores the output
generated from within the container.

However, it ought to be quiet in a way that all kind
of diagnostic output should be ignored, unless the build
process fails.

This patch makes the quiet flag behave in the following way:
 1. If the build process succeeds, stdout contains the image ID
    and stderr is empty.
 2. If the build process fails, stdout is empty and stderr
    has the error message and the diagnostic output of that process.

If the quiet flag is not set, then everything goes to stdout
and error messages, if there are any, go to stderr.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2015-12-21 16:38:50 +02:00
..
dockerfile Change the quiet flag behavior in the build command 2015-12-21 16:38:50 +02:00
dockerignore utils: move dockerignore function to builder/dockerignore 2015-12-14 14:59:52 +01:00
builder.go Merge pull request #18761 from anusha-ragunathan/add-build-routes 2015-12-18 21:09:43 +01:00
dockerignore.go utils: move dockerignore function to builder/dockerignore 2015-12-14 14:59:52 +01:00
git.go utils: move git functions to pkg/gitutils 2015-12-14 14:59:52 +01:00
image.go builder: remove dependency on image 2015-12-16 19:25:03 +01:00
remote.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
remote_test.go remove unnecessary temporary variable 2015-11-26 10:25:55 +08:00
tarsum.go Fix symlink handling in builder ADD/COPY commands 2015-11-06 10:58:12 -08:00