From ff1b0fe00372823ab7107243a0cbfb485ed788ee Mon Sep 17 00:00:00 2001 From: Christian Menard Date: Fri, 21 Jun 2024 10:53:50 +0200 Subject: [PATCH] Fixed docker compose script so that it fails if any container fails --- .../org/lflang/generator/docker/DockerComposeGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/lflang/generator/docker/DockerComposeGenerator.java b/core/src/main/java/org/lflang/generator/docker/DockerComposeGenerator.java index d63a733740..2b8ce9a4ac 100644 --- a/core/src/main/java/org/lflang/generator/docker/DockerComposeGenerator.java +++ b/core/src/main/java/org/lflang/generator/docker/DockerComposeGenerator.java @@ -138,7 +138,7 @@ public void createLauncher() { set -euo pipefail cd $(dirname "$0") cd "%s/%s" - docker compose up + docker compose up --abort-on-container-failure """ .formatted(relPath, packageRoot.relativize(srcGenPath)); var messageReporter = context.getErrorReporter();