Ver código fonte

add missing instruction

Signed-off-by: bin liu <liubin0329@gmail.com>
bin liu 10 anos atrás
pai
commit
1988064ef2
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      docs/reference/builder.md

+ 1 - 0
docs/reference/builder.md

@@ -949,6 +949,7 @@ For example:
 
 
     ENV DIRPATH /path
     ENV DIRPATH /path
     WORKDIR $DIRPATH/$DIRNAME
     WORKDIR $DIRPATH/$DIRNAME
+    RUN pwd
 
 
 The output of the final `pwd` command in this `Dockerfile` would be
 The output of the final `pwd` command in this `Dockerfile` would be
 `/path/$DIRNAME`
 `/path/$DIRNAME`