diff options
Diffstat (limited to 'packages/cli')
| -rw-r--r-- | packages/cli/.npmrc | 2 | ||||
| -rw-r--r-- | packages/cli/Dockerfile.sandbox | 1 | ||||
| -rwxr-xr-x | packages/cli/bin/sandbox.sh | 4 |
3 files changed, 2 insertions, 5 deletions
diff --git a/packages/cli/.npmrc b/packages/cli/.npmrc deleted file mode 100644 index e17bb8be..00000000 --- a/packages/cli/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -@gemini-code:registry=https://us-west1-npm.pkg.dev/gemini-code-dev/gemini-code/ -//us-west1-npm.pkg.dev/gemini-code-dev/gemini-code/:always-auth=true
\ No newline at end of file diff --git a/packages/cli/Dockerfile.sandbox b/packages/cli/Dockerfile.sandbox index 1d4c4048..1395a547 100644 --- a/packages/cli/Dockerfile.sandbox +++ b/packages/cli/Dockerfile.sandbox @@ -23,4 +23,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* RUN --mount=type=secret,id=npmrc,dst=/root/.npmrc npm install -g @gemini-code/cli@${CLI_VERSION} --verbose + ENTRYPOINT 'gemini-code' diff --git a/packages/cli/bin/sandbox.sh b/packages/cli/bin/sandbox.sh index 8ba697f2..7cfada0f 100755 --- a/packages/cli/bin/sandbox.sh +++ b/packages/cli/bin/sandbox.sh @@ -49,6 +49,4 @@ if [ -n "${COLORTERM:-}" ]; then run_args+=(--env COLORTERM="$COLORTERM"); fi # this is the preferred mechanism to detect if inside container/sandbox run_args+=(--env "SANDBOX=$IMAGE:$TAG-$INDEX") -node_args=("$CLI_PATH" "$@") - -docker run "${run_args[@]}" --init --workdir "$WORKDIR" "$REGISTRY/$IMAGE:$TAG" node "${node_args[@]}" +docker run "${run_args[@]}" --init --workdir "$WORKDIR" "$REGISTRY/$IMAGE:$TAG"
\ No newline at end of file |
