Check for builder container in npm build

This commit is contained in:
2023-02-20 16:16:15 -07:00
parent 9f07a0ed4b
commit 156758bfa7
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