mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
feat: Customizing the sandbox environment
This commit is contained in:
parent
52d6d1ff13
commit
c0c94bd4fc
5 changed files with 18 additions and 13 deletions
13
docs/developers/tools/sandbox.md
Normal file
13
docs/developers/tools/sandbox.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
## Customizing the sandbox environment (Docker/Podman)
|
||||
|
||||
If you need extra tools inside the container (e.g., `git`, `python`, `rg`), create a custom Dockerfile:
|
||||
|
||||
1. `cd packages/cli`
|
||||
2. `npm link`
|
||||
3. `which qwen`
|
||||
4. `cd your-project`
|
||||
|
||||
- Path: `.qwen/sandbox.Dockerfile`
|
||||
- Then run with: `BUILD_SANDBOX=1 qwen -s ...`
|
||||
|
||||
This builds a project-specific image based on the default sandbox image.
|
||||
Loading…
Add table
Add a link
Reference in a new issue