Update install.sh

This commit is contained in:
Marco Ochse 2019-08-02 23:33:25 +02:00 committed by GitHub
parent 579aaaa577
commit 0cff5f4be4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -741,13 +741,12 @@ case $myCONF_TPOT_FLAVOR in
;;
esac
# Let's load docker images in parallel
# Let's load docker images
function fuPULLIMAGES {
for name in $(cat $myTPOTCOMPOSE | grep -v '#' | grep image | cut -d'"' -f2 | uniq)
do
docker pull $name &
docker pull $name
done
wait
}
fuBANNER "Pull images"
fuPULLIMAGES