mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
drop the "RE" from REBUILD_SANDBOX (#218)
This commit is contained in:
@@ -50,11 +50,11 @@ if [ "$SKIP_NPM_INSTALL_BUILD" = false ]; then
|
|||||||
npm run build --workspaces
|
npm run build --workspaces
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if using Dockerfile-dev, then skip rebuild unless REBUILD_SANDBOX is set
|
# if using Dockerfile-dev, then skip rebuild unless BUILD_SANDBOX is set
|
||||||
# rebuild should not be necessary unless Dockerfile-dev is modified
|
# rebuild should not be necessary unless Dockerfile-dev is modified
|
||||||
if [ "$DOCKERFILE" = "Dockerfile-dev" ]; then
|
if [ "$DOCKERFILE" = "Dockerfile-dev" ]; then
|
||||||
if $CMD images -q "$IMAGE" | grep -q . && [ -z "${REBUILD_SANDBOX:-}" ]; then
|
if $CMD images -q "$IMAGE" | grep -q . && [ -z "${BUILD_SANDBOX:-}" ]; then
|
||||||
echo "using existing $IMAGE (set REBUILD_SANDBOX=true to force rebuild)"
|
echo "using existing $IMAGE (set BUILD_SANDBOX=true to force rebuild)"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user