From b2f3ab2efc270956a63387c58667c27f1c3248e3 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 13 Aug 2018 15:28:33 -0700 Subject: [PATCH] Use bash as the shell. This in particular lets us set `-u pipefail` to have better error handling. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cac28b3..092c28c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ LABEL maintainer="Alexander Trost " ARG ZULIP_GIT_URL=https://github.com/zulip/zulip.git ARG ZULIP_GIT_REF=1.9.0-rc1 -SHELL ["/bin/sh", "-xc"] +SHELL ["/bin/bash", "-xuo", "pipefail", "-c"] # First, we setup working locales RUN echo 'APT::Install-Recommends 0;' >> /etc/apt/apt.conf.d/01norecommends && \