From 1084dd17235ba52453167f99a28e920b5fd5c5dc Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Wed, 30 Nov 2022 14:30:19 +0100 Subject: [PATCH] ci: add --remove-orphans option to docker-compose up command --- scripts/ct/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ct/run.sh b/scripts/ct/run.sh index 5a2cce036..d1e24558b 100755 --- a/scripts/ct/run.sh +++ b/scripts/ct/run.sh @@ -150,7 +150,7 @@ else fi # shellcheck disable=2086 # no quotes for F_OPTIONS -docker-compose $F_OPTIONS up -d --build +docker-compose $F_OPTIONS up -d --build --remove-orphans # /emqx is where the source dir is mounted to the Erlang container # in .ci/docker-compose-file/docker-compose.yaml