From 4efcbf57843a45881e8ece7a2f58cea9c025601c Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Tue, 24 May 2016 15:33:27 +0200 Subject: [PATCH] Merge pull request #22906 from nshalman/patch-1 Clarification about 'docker build --build-arg' (cherry picked from commit ce07eac570e90ed8aa69472bae463902c075e078) Signed-off-by: Sebastiaan van Stijn --- 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 4530f77bb1..f0f30a0ced 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).