浏览代码

Fix directive example to match description

The description claims the directive is appearing after a comment but
the sample Dockerfile has the directive appear after an instruction.
Changed the ordering of the lines to match the example's description.

Signed-off-by: Remy Suen <remy.suen@gmail.com>
Remy Suen 8 年之前
父节点
当前提交
f00fa63988
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/reference/builder.md

+ 1 - 1
docs/reference/builder.md

@@ -199,8 +199,8 @@ directive:
 
 ```Dockerfile
 # About my dockerfile
-FROM ImageName
 # directive=value
+FROM ImageName
 ```
 
 The unknown directive is treated as a comment due to not being recognized. In