Mercurial > public > ssdt-docker
view init.sh @ 413:4b0c2c7e213b production v2.15.0
flow: Merged <release> '2.15.0' to <master> ('production').
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Fri, 14 Oct 2022 10:20:38 -0400 |
parents | 249ec634da33 |
children | 9afc8cb478f6 |
line wrap: on
line source
#!/bin/bash getSsdtHomeDir() { SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done echo $( cd $( dirname $SOURCE) && pwd ) } export SSDT_HOME=$(getSsdtHomeDir) export SSDT_SCRIPTS=${SSDT_HOME}/scripts source "${SSDT_SCRIPTS}/.functions.sh" alias utils='docker run -it -v ${PWD}:/tmp -v $SSDT_HOME:/ssdt --rm docker.ssdt.io/ssdt-utils' alias send2ssdt='${SSDT_SCRIPTS}/send.sh'