Merge pull request #1848 from dotcloud/build-clean

Add rm option to docker build to remove intermediate containers
This commit is contained in:
Michael Crosby
2013-09-13 10:58:59 -07:00
7 changed files with 24 additions and 12 deletions
@@ -976,6 +976,7 @@ Build an image from Dockerfile via stdin
:query t: repository name (and optionally a tag) to be applied to the resulting image in case of success
:query q: suppress verbose build output
:query nocache: do not use the cache when building the image
:query rm: remove intermediate containers after a successful build
:statuscode 200: no error
:statuscode 500: server error
@@ -13,6 +13,7 @@
-t="": Repository name (and optionally a tag) to be applied to the resulting image in case of success.
-q=false: Suppress verbose build output.
-no-cache: Do not use the cache when building the image.
-rm: Remove intermediate containers after a successful build
When a single Dockerfile is given as URL, then no context is set. When a git repository is set as URL, the repository is used as context