Browse Source

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 years ago
parent
commit
f00fa63988
1 changed files with 1 additions and 1 deletions
  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