annotate update.sh @ 159:303259c08b7d

DEP-12: update backup scripts
author smith@nwoca.org
date Wed, 02 Aug 2017 21:44:52 +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}