From 3b3fd6350af675de8d1d6bc43f4b267a5902297a Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 29 Nov 2021 22:50:30 +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 6178268..7e9a550 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-ubuntu" -HYBRID_NETWORK="swarmlab-ubuntu" +HYBRID_NETWORK="microservice-ubuntu" # dont edit #IMAGE_origin="hub.swarmlab.io:5480/hybrid-numpy:latest" IMAGE_origin="hub.swarmlab.io:5480/hybrid-ubuntuslim: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 # ----------------------------------------------- @@ -187,6 +193,12 @@ fi create_project () { + docker pull $IMAGE_origin << ANSWERS +yes +yes +yes +ANSWERS + if [ "$Wdir" == "$HOME" ]; then echo"" @@ -469,7 +481,6 @@ up_master () # docker-compose up --build -d masterservice #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