Mercurial > sat_docs
comparison docker/libervia_cont.sh @ 22:2c861d6aa446
docker: added "latest" tag when pulling in libervia_cont.sh update
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Oct 2014 19:40:45 +0200 |
parents | 0e78c8a4626e |
children | b10f01885949 |
comparison
equal
deleted
inserted
replaced
21:0e78c8a4626e | 22:2c861d6aa446 |
---|---|
224 UPDATE) | 224 UPDATE) |
225 printf "updating containers" | 225 printf "updating containers" |
226 errors=0 | 226 errors=0 |
227 for CONT in $CONTAINERS data; do | 227 for CONT in $CONTAINERS data; do |
228 printf "\nupdating $CONT" | 228 printf "\nupdating $CONT" |
229 docker pull $ACCOUNT/$CONT > /dev/null 2>&1 | 229 docker pull $ACCOUNT/$CONT:latest > /dev/null 2>&1 |
230 if [ $? -ne 0 ]; then | 230 if [ $? -ne 0 ]; then |
231 printf "... Error while updating $ACCOUNT/$CONT" | 231 printf "... Error while updating $ACCOUNT/$CONT" |
232 errors=1 | 232 errors=1 |
233 fi | 233 fi |
234 done | 234 done |