Ver código fonte

Clarification about 'docker build --build-arg'

See #22860

Signed-off-by: Nahum Shalman <nshalman@omniti.com>
Nahum Shalman 9 anos atrás
pai
commit
fd7d99ed28
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      docs/reference/commandline/build.md

+ 3 - 0
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
 Dockerfile. Also, these values don't persist in the intermediate or final images
 like `ENV` values do.
 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
 For detailed information on using `ARG` and `ENV` instructions, see the
 [Dockerfile reference](../builder.md).
 [Dockerfile reference](../builder.md).