From 223d331b3a1c10e2dfb2a4e224f61e663bbf0a41 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Tue, 21 Nov 2023 21:49:27 +0000
Subject: [PATCH] fix: add set -e to xl.Dockerfile to fail when detector build
 fails

---
 containers/jug/xl.Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/containers/jug/xl.Dockerfile b/containers/jug/xl.Dockerfile
index 0ae17fb93..162c420db 100644
--- a/containers/jug/xl.Dockerfile
+++ b/containers/jug/xl.Dockerfile
@@ -31,6 +31,7 @@ ADD https://api.github.com/repos/eic/epic /tmp/epic.json
 COPY setup_detectors.py /tmp
 COPY --from=detectors detectors.yaml /tmp
 RUN --mount=type=cache,target=/ccache/,sharing=locked,id=${TARGETPLATFORM} <<EOF
+set -e
 cd /tmp
 export CCACHE_DIR=/ccache
 [ "z$NIGHTLY" = "z1" ] && NIGHTLY_FLAG="--nightly" || NIGHTLY_FLAG=""
-- 
GitLab