Skip to content

Commit

Permalink
[Dockerfile] Set the SHELL to bash with pipefail option
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Jul 12, 2018
1 parent 7ff2085 commit 5f9ccaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ LABEL maintainer="Peter Dave Hello <hsu@peterdavehello.org>"
LABEL name="nvm-dev-env"
LABEL version="latest"

# Set the SHELL to bash with pipefail option
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Prevent dialog during apt install
ENV DEBIAN_FRONTEND noninteractive

Expand Down

0 comments on commit 5f9ccaa

Please sign in to comment.