annotate update.sh @ 116:4b8eb7301ae0

DEP-12: update to postgres 9.4.11. add script to generate unique postgres password
author smith@nwoca.org
date Thu, 27 Apr 2017 17:51:12 -0400
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}