From fd7d99ed283bea260fa5e674ee8200038196fdac Mon Sep 17 00:00:00 2001 From: Nahum Shalman Date: Mon, 23 May 2016 10:01:59 -0400 Subject: [PATCH] Clarification about 'docker build --build-arg' See #22860 Signed-off-by: Nahum Shalman --- docs/reference/commandline/build.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/reference/commandline/build.md b/docs/reference/commandline/build.md index eb1bb426b7..8ef0628598 100644 --- a/docs/reference/commandline/build.md +++ b/docs/reference/commandline/build.md @@ -298,6 +298,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).