Browse code

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 <github@gone.nl>

Vincent Demeester authored on 2016/05/24 22:33:27
Showing 1 changed files
... ...
@@ -298,6 +298,9 @@ accessed like regular environment variables in the `RUN` instruction of the
298 298
 Dockerfile. Also, these values don't persist in the intermediate or final images
299 299
 like `ENV` values do.
300 300
 
301
+Using this flag will not alter the output you see when the `ARG` lines from the
302
+Dockerfile are echoed during the build process.
303
+
301 304
 For detailed information on using `ARG` and `ENV` instructions, see the
302 305
 [Dockerfile reference](../builder.md).
303 306