mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Default TMPDIR to /tmp/ for sandbox (#133)
This commit is contained in:
@@ -33,7 +33,7 @@ run_args=(-it --rm)
|
||||
run_args+=(-v "$PWD:$WORKDIR")
|
||||
|
||||
# mount $TMPDIR as /tmp inside container
|
||||
run_args+=(-v "$TMPDIR:/tmp")
|
||||
run_args+=(-v "${TMPDIR:-/tmp/}:/tmp")
|
||||
|
||||
# name container after image, plus numeric suffix to avoid conflicts
|
||||
INDEX=0
|
||||
|
||||
Reference in New Issue
Block a user