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

9 lines
484 B
Bash
Raw Normal View History

2022-09-22 03:35:18 +00:00
#!/usr/bin/env bash
# Build cerc/laconic-client
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-09-29 02:32:58 +00:00
# TODO: change the repo name to laconic-client, if it becomes re-named (laconic-client currently is just the TS protocol client library, not the CLI tool)
docker build -t cerc/laconic-client:local -f ${SCRIPT_DIR}/Dockerfile --build-arg NPM_AUTH_TOKEN=$(NPM_AUTH_TOKEN) ${CERC_REPO_BASE_DIR}/laconic-sdk