stack-orchestrator/container-build/cerc-laconic-client/build.sh

8 lines
335 B
Bash
Raw Normal View History

2022-09-22 03:35:18 +00:00
#!/usr/bin/env bash
2022-10-12 21:28:45 +00:00
# Build cerc/laconic-cns-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 )
2022-10-12 21:28:45 +00:00
docker build -t cerc/laconic-cns-cli:local -f ${SCRIPT_DIR}/Dockerfile --build-arg NPM_AUTH_TOKEN=$(NPM_AUTH_TOKEN) ${CERC_REPO_BASE_DIR}/laconic-cns-cli