From fc4651a81777ee01c833498ea17e0dc9e560692b Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 29 Nov 2021 22:49:04 +0200 Subject: [PATCH] pull --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index b013d18..9fc668c 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -37,7 +37,7 @@ EOF # PACKAGES enabled ths with apt-get update && apt-get $APTPARAM install -y openssh-server $PACKAGES in in RUN export DEBIAN_FRONTEND=noninteractive APTPARAM=" --no-install-recommends " IMAGE_local="microservice-numpy" -HYBRID_NETWORK="swarmlab-numpy" +HYBRID_NETWORK="microservice-numpy" # dont edit #IMAGE_origin="hub.swarmlab.io:5480/hybrid-numpy:latest" IMAGE_origin="hub.swarmlab.io:5480/hubrid-numpyslim:latest" @@ -113,6 +113,12 @@ fi create_dockerfile () { + docker pull $IMAGE_origin << ANSWERS +yes +yes +yes +ANSWERS + . $Wdir/ROOT_PASSWORD if [ -d "$Wdir/project" ]; then # ----------------------------------------------- @@ -188,6 +194,12 @@ fi create_project () { + docker pull $IMAGE_origin << ANSWERS +yes +yes +yes +ANSWERS + if [ "$Wdir" == "$HOME" ]; then echo"" echo "You are in Your Home directory" @@ -470,7 +482,6 @@ up_master () #docker-compose up --force-recreate -d masterservice docker-compose rm -f -s -v - docker pull $IMAGE_origin docker-compose up --build --remove-orphans -d masterservice << ANSWERS yes yes