stack-orchestrator/container-build/cerc-laconic-registry-cli/build.sh
2023-01-06 13:13:56 -07:00

8 lines
335 B
Bash
Executable File

#!/usr/bin/env bash
# Build cerc/laconic-cns-cli
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
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