Pull images in installer.sh

This way if the network is not working, then the update will just
fail and use the old version

This also tags the addon images with the semver properly
This commit is contained in:
Girish Ramakrishnan
2018-10-26 15:32:34 -07:00
parent 97567b7d2a
commit 94be6a9e3c
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -93,6 +93,7 @@ images=$(node -e "var i = require('${arg_infraversionpath}/infra_version.js'); c
echo -e "\tPulling docker images: ${images}"
for image in ${images}; do
docker pull "${image}"
docker pull "${image%@sha256:*}" # this will tag the image for readability
done
echo "==> Install collectd"