From 55dc4f2b94f68e9e1b4e73b1f21cf5151f86e8f8 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Fri, 8 Aug 2014 15:26:22 -0400 Subject: [PATCH] fix for issue 7281 add missing comma per O.S. Tezer's commment Signed-off-by: Doug Davis --- docs/sources/reference/builder.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/sources/reference/builder.md b/docs/sources/reference/builder.md index 5788e8167f..d2c848b11e 100644 --- a/docs/sources/reference/builder.md +++ b/docs/sources/reference/builder.md @@ -164,6 +164,11 @@ any point in an image's history, much like source control. The *exec* form makes it possible to avoid shell string munging, and to `RUN` commands using a base image that does not contain `/bin/sh`. +> **Note**: +> To use a different shell, other than '/bin/sh', use the *exec* form +> passing in the desired shell. For example, +> `RUN ["/bin/bash", "-c", "echo hello"]` + The cache for `RUN` instructions isn't invalidated automatically during the next build. The cache for an instruction like `RUN apt-get dist-upgrade -y` will be reused during the next build. The cache for