improve sandboxing status message, update README, remove dead code from a previous change to build_sandbox.sh (#346)

This commit is contained in:
Olcan
2025-05-14 11:23:06 -07:00
committed by GitHub
parent bfda4295c9
commit 1fa40405ea
3 changed files with 13 additions and 14 deletions

View File

@@ -27,16 +27,15 @@ IMAGE=gemini-code-sandbox
DOCKERFILE=Dockerfile
SKIP_NPM_INSTALL_BUILD=false
while getopts "sdf:" opt; do
while getopts "sf:" opt; do
case ${opt} in
s) SKIP_NPM_INSTALL_BUILD=true ;;
f)
DOCKERFILE=$OPTARG
;;
\?)
echo "usage: $(basename "$0") [-s] [-d] [-f <dockerfile>]"
echo "usage: $(basename "$0") [-s] [-f <dockerfile>]"
echo " -s: skip npm install + npm run build"
echo " -d: build dev image (use Dockerfile-dev)"
echo " -f <dockerfile>: use <dockerfile>"
exit 1
;;