Ver código fonte

Merge pull request #8874 from whoshuu/patch-1

Fix apparent copy paste mistake
Fred Lifton 10 anos atrás
pai
commit
f10fefe408
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/sources/reference/builder.md

+ 2 - 2
docs/sources/reference/builder.md

@@ -238,9 +238,9 @@ commands using a base image that does not contain `/bin/sh`.
 > **Note**:
 > Unlike the *shell* form, the *exec* form does not invoke a command shell.
 > This means that normal shell processing does not happen. For example,
-> `CMD [ "echo", "$HOME" ]` will not do variable substitution on `$HOME`.
+> `RUN [ "echo", "$HOME" ]` will not do variable substitution on `$HOME`.
 > If you want shell processing then either use the *shell* form or execute 
-> a shell directly, for example: `CMD [ "sh", "-c", "echo", "$HOME" ]`.
+> a shell directly, for example: `RUN [ "sh", "-c", "echo", "$HOME" ]`.
 
 The cache for `RUN` instructions isn't invalidated automatically during
 the next build. The cache for an instruction like