Skip to content

Commit

Permalink
Remove default assertion for dash shell
Browse files Browse the repository at this point in the history
  • Loading branch information
bermudezmt authored Nov 29, 2018
1 parent 9114fc2 commit 24019d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions develop/develop-images/dockerfile_best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ 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 `dash` shell, which is the default shell on
> Debian-based images), consider using the _exec_ form of `RUN` to explicitly
> In cases such as the `dash` 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:
>
> ```Dockerfile
Expand Down

0 comments on commit 24019d9

Please sign in to comment.