Mercurial > public > ssdt-docker
annotate init.sh @ 195:26bb64873bbe production v1.3.0
flow: Merged <release> 'v1.3.0' to <master> ('production').
author | smith@nwoca.org |
---|---|
date | Thu, 21 Sep 2017 17:14:46 +0100 |
parents | 249ec634da33 |
children | 9afc8cb478f6 |
rev | line source |
---|---|
54 | 1 #!/bin/bash |
143 | 2 getSsdtHomeDir() { |
3 SOURCE="${BASH_SOURCE[0]}" | |
4 while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done | |
5 echo $( cd $( dirname $SOURCE) && pwd ) | |
6 } | |
7 | |
8 export SSDT_HOME=$(getSsdtHomeDir) | |
9 export SSDT_SCRIPTS=${SSDT_HOME}/scripts | |
10 source "${SSDT_SCRIPTS}/.functions.sh" | |
85
8f45c43ea7a4
DEP-12: start upgrading scripts and compose files for RC and docker 1.12
Dave Smith <smith@nwoca.org>
parents:
63
diff
changeset
|
11 alias utils='docker run -it -v ${PWD}:/tmp -v $SSDT_HOME:/ssdt --rm docker.ssdt.io/ssdt-utils' |
143 | 12 alias send2ssdt='${SSDT_SCRIPTS}/send.sh' |