Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
f00fa63988
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      docs/reference/builder.md

+ 1 - 1
docs/reference/builder.md

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