From d3f687ea90c278e0960ad3e127ebe71fc53b15af Mon Sep 17 00:00:00 2001 From: Florian Zirker Date: Sat, 12 Nov 2022 14:31:35 +0100 Subject: [PATCH] Skripte angepasst --- pull-all.sh | 4 ++++ pull-min.sh | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100755 pull-min.sh diff --git a/pull-all.sh b/pull-all.sh index 369015c..e29394f 100755 --- a/pull-all.sh +++ b/pull-all.sh @@ -1,5 +1,9 @@ #/bin/bash/ +for dir in ./*/ ; do + (cd "$dir" && echo "[$dir]" && docker-compose build); +done + for dir in ./*/ ; do (cd "$dir" && echo "[$dir]" && docker-compose pull); done diff --git a/pull-min.sh b/pull-min.sh new file mode 100755 index 0000000..26f6b61 --- /dev/null +++ b/pull-min.sh @@ -0,0 +1,9 @@ +#/bin/bash/ + +function pull { + (cd "$1" && echo "[$1]" && docker-compose pull); +} + +pull proxy; +pull telegraf; +pull portainer;