# HG changeset patch # User smith@nwoca.org # Date 1501530593 -3600 # Node ID 018f62da193180f0cd4977a4213700e9261072c5 # Parent 2f794158e9e86c7f442f454b720558ee803ccdc3 DEP-12: add docker version. prevent pulling updates for dangling images diff -r 2f794158e9e8 -r 018f62da1931 scripts/.functions.sh --- a/scripts/.functions.sh Mon Jul 31 20:48:38 2017 +0100 +++ b/scripts/.functions.sh Mon Jul 31 20:49:53 2017 +0100 @@ -11,6 +11,8 @@ export SSDT_HOME=$(dirname $SSDT_SCRIPTS) fi +export SSDT_DOCKER_VERSION=$(docker version --format '{{.Server.Version}}') + # deletes psql data from specified service resetDbVolume() { # Works for named and unnamed volumes and custom $PGDATA. diff -r 2f794158e9e8 -r 018f62da1931 scripts/updates-pull.sh --- a/scripts/updates-pull.sh Mon Jul 31 20:48:38 2017 +0100 +++ b/scripts/updates-pull.sh Mon Jul 31 20:49:53 2017 +0100 @@ -18,7 +18,7 @@ do repo=${line[0]} tag=${line[1]} - if [[ $repo == docker.ssdt.io* ]] + if [[ $repo == docker.ssdt.io* && $tag != *none* ]] then echo "docker pull ${repo}:${tag}" docker pull ${repo}:${tag}