Clarification about 'docker build --build-arg'

See #22860

Signed-off-by: Nahum Shalman <nshalman@omniti.com>
Upstream-commit: b47dd5295d
Component: cli
This commit is contained in:
Nahum Shalman
2017-06-02 00:07:40 +00:00
committed by Tibor Vass
parent 1fc3ef1662
commit 9eeb438b78
@@ -299,6 +299,9 @@ accessed like regular environment variables in the `RUN` instruction of the
Dockerfile. Also, these values don't persist in the intermediate or final images
like `ENV` values do.
Using this flag will not alter the output you see when the `ARG` lines from the
Dockerfile are echoed during the build process.
For detailed information on using `ARG` and `ENV` instructions, see the
[Dockerfile reference](../builder.md).