stack-orchestrator/app/data/container-build/cerc-laconic-registry-cli/build.sh

10 lines
377 B
Bash
Raw Normal View History

2022-09-22 03:35:18 +00:00
#!/usr/bin/env bash
2023-01-06 20:44:52 +00:00
# Build cerc/laconic-registry-cli
2022-09-22 03:53:57 +00:00
2022-09-22 03:35:18 +00:00
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
2023-01-06 20:44:52 +00:00
docker build -t cerc/laconic-registry-cli:local -f ${SCRIPT_DIR}/Dockerfile \
2023-01-06 22:57:14 +00:00
--add-host gitea.local:host-gateway \
2023-01-06 20:54:03 +00:00
--build-arg CERC_NPM_AUTH_TOKEN --build-arg CERC_NPM_URL ${SCRIPT_DIR}