Mercurial > public > ssdt-docker
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 | 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 | 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} |