[Dockerfile] Set the SHELL to bash with pipefail option

Peter Dave Hello 2018-07-12 12:22:41 +08:00
parent 7ff20855a2
commit 5f9ccaada0
1 changed files with 3 additions and 0 deletions

View File

@ -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