diff update.sh @ 86:b997ad087ac1

DEP-12: modify utils image to pull production branch from ssdt-docker by default
author smith@nwoca.org
date Thu, 22 Sep 2016 01:48:13 +0100
parents 334d65dac778
children 6643a8613410
line wrap: on
line diff
--- a/update.sh	Tue Aug 30 16:37:52 2016 +0100
+++ b/update.sh	Thu Sep 22 01:48:13 2016 +0100
@@ -1,3 +1,4 @@
 #!/bin/bash
+SSDT_HOME="$( dirname "${BASH_SOURCE[0]}")"
 docker pull docker.ssdt.io/ssdt-utils
-docker run -it -v /ssdt:/ssdt --rm docker.ssdt.io/ssdt-utils update
+docker run -it -v $SSDT_HOME:/ssdt --rm docker.ssdt.io/ssdt-utils update