Signed-off-by: Charles Law <claw@conduce.com>
| ... | ... |
@@ -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 |