Check for builder container in npm build

Former-commit-id: 156758bfa7
This commit is contained in:
dboreham committed 2023-02-20 16:16:15 -07:00
1 parent 9053d2d782
commit 6f2a44ba2f
3 files changed
+19 -2

No files matched your search

@@ -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