From f9bf6ad73baec8c81fac1e594c69249474ae5b75 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 24 Sep 2022 15:04:56 +0200 Subject: [PATCH] =?utf8?q?Ausf=C3=BChrung=20von=20README.sh=20resilienter?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- README.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.sh b/README.sh index d2dccf8..573aba8 100755 --- a/README.sh +++ b/README.sh @@ -10,13 +10,14 @@ then fi docker-compose up -d zookeeper kafka-1 kafka-2 kafka-3 cli +docker-compose rm -svf producer if [[ $(docker image ls -q $IMAGE) == "" || "$1" = "build" ]] then - mvn install || exit + mvn clean install || exit else echo "Using image existing images:" docker image ls $IMAGE -- 2.20.1