diff scripts/.functions.sh @ 157:018f62da1931

DEP-12: add docker version. prevent pulling updates for dangling images
author smith@nwoca.org
date Mon, 31 Jul 2017 20:49:53 +0100
parents 249ec634da33
children 1a8087653f2a
line wrap: on
line diff
--- 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.