Check for builder container in npm build

Former-commit-id: 156758bfa7
This commit is contained in:
2023-02-20 16:16:15 -07:00
parent 9053d2d782
commit 6f2a44ba2f
3 changed files with 19 additions and 2 deletions
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
# Usage: default-build.sh <image-tag> [<repo-relative-path>]
# if <repo-relative-path> is not supplied, the context is the directory where the Dockerfile lives
if [[ -n "$CERC_SCRIPT_DEBUG" ]]; then
set -x
fi
if [[ $# -ne 2 ]]; then
echo "Illegal number of parameters" >&2
exit 1