env-docker/source.env

15 lines
339 B
Bash
Raw Normal View History

2023-07-05 18:45:40 -07:00
# Provide any necessary project variables.
# Needs run in the current shell environment, such as:
# source /PATH_TO_GIT_PROJECT/source.env
2023-07-05 18:36:23 -07:00
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
if [[ $DIR == \.* ]]; then
DIR="`pwd`"
fi
DOCKER_HOME="$DIR"
DOCKER_PATH="$DOCKER_HOME/bin"
PATH="$DOCKER_PATH:$PATH"
export DOCKER_HOME DOCKER_PATH PATH