annotate update.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 6643a8613410
children d51ffd82515a
rev   line source
54
334d65dac778 add hash bangs to specify bash shell
smith@nwoca.org
parents: 18
diff changeset
1 #!/bin/bash
86
b997ad087ac1 DEP-12: modify utils image to pull production branch from ssdt-docker by default
smith@nwoca.org
parents: 54
diff changeset
2 SSDT_HOME="$( dirname "${BASH_SOURCE[0]}")"
18
459ef905cbd5 fix line endings
Dave smith <smith@nwoca.org>
parents: 16
diff changeset
3 docker pull docker.ssdt.io/ssdt-utils
96
6643a8613410 DEP-12: allow branch to be selected on update
smith@nwoca.org
parents: 86
diff changeset
4 docker run -it -v $SSDT_HOME:/ssdt --rm docker.ssdt.io/ssdt-utils update ${1}