Browse code

Fix error for env variables example in docker reference

Signed-off-by: Charles Law <claw@conduce.com>

Charles Law authored on 2016/05/14 02:55:36
Showing 1 changed files
... ...
@@ -361,7 +361,7 @@ RUN /bin/bash -c 'source $HOME/.bashrc ; echo $HOME'
361 361
 > This means that normal shell processing does not happen. For example,
362 362
 > `RUN [ "echo", "$HOME" ]` will not do variable substitution on `$HOME`.
363 363
 > If you want shell processing then either use the *shell* form or execute
364
-> a shell directly, for example: `RUN [ "sh", "-c", "echo", "$HOME" ]`.
364
+> a shell directly, for example: `RUN [ "sh", "-c", "echo $HOME" ]`.
365 365
 
366 366
 The cache for `RUN` instructions isn't invalidated automatically during
367 367
 the next build. The cache for an instruction like