diff options
| author | Tolik Malibroda <[email protected]> | 2025-06-05 18:47:39 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-05 18:47:39 +0200 |
| commit | 1d20cedf033f9c9a8f27812020fead584510bf84 (patch) | |
| tree | 8e68e2f0b119d28d772ecf8bf8225e98f79d3da2 /packages/cli/src | |
| parent | 4d4cf0f2f95a002e0b5bf23b2e4f5a446a0612ac (diff) | |
fix: Disable automatic image building if BUILD_SANDBOX is not provided (#764)
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/utils/sandbox.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/cli/src/utils/sandbox.ts b/packages/cli/src/utils/sandbox.ts index 9fb3da69..2b672ef5 100644 --- a/packages/cli/src/utils/sandbox.ts +++ b/packages/cli/src/utils/sandbox.ts @@ -285,11 +285,10 @@ export async function start_sandbox(sandbox: string) { const image = await getSandboxImageName(isCustomProjectSandbox); const workdir = process.cwd(); - // if BUILD_SANDBOX is set or project-specific sandbox.Dockerfile provided, - // then call scripts/build_sandbox.sh under gemini-cli repo + // if BUILD_SANDBOX is set, then call scripts/build_sandbox.sh under gemini-cli repo // // note this can only be done with binary linked from gemini-cli repo - if (process.env.BUILD_SANDBOX || isCustomProjectSandbox) { + if (process.env.BUILD_SANDBOX) { if (!gcPath.includes('gemini-cli/packages/')) { console.error( 'ERROR: cannot build sandbox using installed gemini binary; ' + |
