Browse code

fix for issue 7281 add missing comma per O.S. Tezer's commment

Signed-off-by: Doug Davis <dug@us.ibm.com>

Doug Davis authored on 2014/08/09 04:26:22
Showing 1 changed files
... ...
@@ -164,6 +164,11 @@ any point in an image's history, much like source control.
164 164
 The *exec* form makes it possible to avoid shell string munging, and to `RUN`
165 165
 commands using a base image that does not contain `/bin/sh`.
166 166
 
167
+> **Note**:
168
+> To use a different shell, other than '/bin/sh', use the *exec* form
169
+> passing in the desired shell. For example,
170
+> `RUN ["/bin/bash", "-c", "echo hello"]`
171
+
167 172
 The cache for `RUN` instructions isn't invalidated automatically during
168 173
 the next build. The cache for an instruction like `RUN apt-get
169 174
 dist-upgrade -y` will be reused during the next build.  The cache for