mirror of https://github.com/docker/docs.git
Update dockerfile_best-practices.md
This commit is contained in:
parent
862562f9e6
commit
f7e90e31d4
|
@ -463,7 +463,7 @@ RUN set -o pipefail && wget -O - https://some.site | wc -l > /number
|
|||
```
|
||||
> Not all shells support the `-o pipefail` option.
|
||||
>
|
||||
> In such cases (such as the `b ash` shell, which is the default shell on
|
||||
> In such cases (such as the `bash` shell, which is the default shell on
|
||||
> Debian-based images), consider using the _exec_ form of `RUN` to explicitly
|
||||
> choose a shell that does support the `pipefail` option. For example:
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue