From 5f9ccaada08940eabe1c95ecdc44d781fce987b0 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Thu, 12 Jul 2018 12:22:41 +0800 Subject: [PATCH] [Dockerfile] Set the SHELL to bash with pipefail option --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 22cc068..d2ac044 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,9 @@ LABEL maintainer="Peter Dave Hello " 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