diff options
Diffstat (limited to 'scripts/start_container.sh')
| -rwxr-xr-x | scripts/start_container.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/start_container.sh b/scripts/start_container.sh deleted file mode 100755 index dbdd305d..00000000 --- a/scripts/start_container.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -set -euo pipefail - -IMAGE=gemini-code-sandbox -CLI_DIST=/usr/local/share/npm-global/lib/node_modules/\@gemini-code/cli -WORKDIR=/sandbox/$(basename "$PWD") - -# use docker if installed, otherwise try to use podman instead -if command -v docker &> /dev/null; then - CMD=docker -elif command -v podman &> /dev/null; then - CMD=podman -else - echo "ERROR: docker or podman must be installed" - exit 1 -fi - -$CMD run -it --rm -v"$PWD:$WORKDIR" --workdir "$WORKDIR" "$IMAGE" node "$CLI_DIST"
\ No newline at end of file |
