浏览代码

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 9 年之前
父节点
当前提交
4efcbf5784
共有 1 个文件被更改,包括 3 次插入0 次删除
  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
 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).