summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorOlcan <[email protected]>2025-05-14 11:23:06 -0700
committerGitHub <[email protected]>2025-05-14 11:23:06 -0700
commit1fa40405ea88dc95e0e2b3df1d63c2d7e7ddc8fb (patch)
tree9e0058212308e6a1e4de7fdc115dfe42901b0787 /scripts
parentbfda4295c9bc4f4d6848d912573bd0cbdeb3f495 (diff)
improve sandboxing status message, update README, remove dead code from a previous change to build_sandbox.sh (#346)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_sandbox.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/build_sandbox.sh b/scripts/build_sandbox.sh
index 9610cccd..2988ddab 100755
--- a/scripts/build_sandbox.sh
+++ b/scripts/build_sandbox.sh
@@ -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
;;