mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
add sandboxImageName in package.json (#1219)
This commit is contained in:
@@ -61,7 +61,7 @@ if (sandboxCommand === 'sandbox-exec') {
|
||||
|
||||
console.log(`using ${sandboxCommand} for sandboxing`);
|
||||
|
||||
const baseImage = cliPkgJson.config.sandboxImageUri;
|
||||
const baseImage = cliPkgJson.config.sandboximageName;
|
||||
const customImage = argv.i;
|
||||
const baseDockerfile = 'Dockerfile';
|
||||
const customDockerfile = argv.f;
|
||||
|
||||
@@ -45,6 +45,7 @@ if (!cliPackageJson.config) {
|
||||
cliPackageJson.config = {};
|
||||
}
|
||||
cliPackageJson.config.sandboxImageUri = containerImageUri;
|
||||
cliPackageJson.config.sandboximageName = containerImageName;
|
||||
|
||||
// Remove 'prepublishOnly' from scripts if it exists
|
||||
if (cliPackageJson.scripts && cliPackageJson.scripts.prepublishOnly) {
|
||||
|
||||
Reference in New Issue
Block a user