Remove default assertion for dash shell

This commit is contained in:
Maria Bermudez 2018-11-29 15:05:11 -08:00 committed by GitHub
parent 9114fc2a7b
commit 24019d9d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -463,8 +463,8 @@ RUN set -o pipefail && wget -O - https://some.site | wc -l > /number
``` ```
> Not all shells support the `-o pipefail` option. > Not all shells support the `-o pipefail` option.
> >
> In such cases (such as the `dash` shell, which is the default shell on > In cases such as the `dash` shell on
> Debian-based images), consider using the _exec_ form of `RUN` to explicitly > Debian-based images, consider using the _exec_ form of `RUN` to explicitly
> choose a shell that does support the `pipefail` option. For example: > choose a shell that does support the `pipefail` option. For example:
> >
> ```Dockerfile > ```Dockerfile