forked from cerc-io/stack-orchestrator
10 lines
377 B
Bash
10 lines
377 B
Bash
|
#!/usr/bin/env bash
|
||
|
# Build cerc/laconic-registry-cli
|
||
|
|
||
|
# See: https://stackoverflow.com/a/246128/1701505
|
||
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||
|
|
||
|
docker build -t cerc/laconic-console-host:local -f ${SCRIPT_DIR}/Dockerfile \
|
||
|
--add-host gitea.local:host-gateway \
|
||
|
--build-arg CERC_NPM_AUTH_TOKEN --build-arg CERC_NPM_URL ${SCRIPT_DIR}
|