stack-orchestrator/app/data/container-build/cerc-laconic-console-host/build.sh

12 lines
448 B
Bash
Raw Normal View History

2023-03-23 22:02:55 +00:00
#!/usr/bin/env bash
# Build cerc/laconic-registry-cli
2023-04-14 20:19:27 +00:00
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
2023-03-23 22:02:55 +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/laconic-console-host:local ${build_command_args} -f ${SCRIPT_DIR}/Dockerfile \
2023-03-23 22:02:55 +00:00
--add-host gitea.local:host-gateway \
--build-arg CERC_NPM_AUTH_TOKEN --build-arg CERC_NPM_URL ${SCRIPT_DIR}