From 31b6addd780d7f736cadb105a1ddf25ac459bbbd Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Mon, 18 Mar 2024 20:59:04 +0100 Subject: [PATCH] Set shell pipefail --- Dockerfile | 2 ++ script/hassfest/docker.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 00d6cdf69d734..175c37cda5009 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ ENV \ ARG QEMU_CPU +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + # Install uv RUN pip3 install "$(cat requirements_test.txt | grep '^uv')" diff --git a/script/hassfest/docker.py b/script/hassfest/docker.py index 244e65ef1d88e..b4b04955e7e17 100644 --- a/script/hassfest/docker.py +++ b/script/hassfest/docker.py @@ -21,6 +21,8 @@ ARG QEMU_CPU +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + # Install uv RUN pip3 install "$(cat requirements_test.txt | grep '^uv')"