stack-orchestrator/app/data/container-build/cerc-watcher-mobymask/build.sh

12 lines
451 B
Bash
Raw Normal View History

2022-11-06 17:11:42 +00:00
#!/usr/bin/env bash
# Build cerc/watcher-mobymask
2023-04-14 20:19:27 +00:00
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
2022-11-06 17:11:42 +00:00
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
2023-04-14 20:19:27 +00:00
docker build -t cerc/watcher-mobymask:local -f ${SCRIPT_DIR}/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/watcher-ts
# TODO: add a mechanism to pass two repos into a container rather than the parent directory