stack-orchestrator/container-build/cerc-watcher-mobymask/build.sh
2022-11-06 17:17:48 -07:00

9 lines
377 B
Bash
Executable File

#!/usr/bin/env bash
# Build cerc/watcher-mobymask
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# TODO: add a mechanism to pass two repos into a container rather than the parent directory as below
docker build -t cerc/watcher-mobymask:local -f ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}