Cleanup
parent
7def651231
commit
d4e973c6f0
|
@ -6107,7 +6107,7 @@ class Docker {
|
|||
const githubHome = node_path_1.default.join(runnerTempPath, '_github_home');
|
||||
if (!(0, node_fs_1.existsSync)(githubHome))
|
||||
(0, node_fs_1.mkdirSync)(githubHome);
|
||||
const dockerCommand = `docker run \
|
||||
return `docker run \
|
||||
--workdir c:${dockerWorkspacePath} \
|
||||
--rm \
|
||||
${image_environment_factory_1.default.getEnvVarString(parameters)} \
|
||||
|
@ -6129,7 +6129,6 @@ class Docker {
|
|||
--isolation=${dockerIsolationMode} \
|
||||
${image} \
|
||||
powershell c:/steps/entrypoint.ps1`;
|
||||
return dockerCommand;
|
||||
}
|
||||
}
|
||||
exports["default"] = Docker;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -103,7 +103,7 @@ class Docker {
|
|||
const githubHome = path.join(runnerTempPath, '_github_home');
|
||||
if (!existsSync(githubHome)) mkdirSync(githubHome);
|
||||
|
||||
const dockerCommand = `docker run \
|
||||
return `docker run \
|
||||
--workdir c:${dockerWorkspacePath} \
|
||||
--rm \
|
||||
${ImageEnvironmentFactory.getEnvVarString(parameters)} \
|
||||
|
@ -125,8 +125,6 @@ class Docker {
|
|||
--isolation=${dockerIsolationMode} \
|
||||
${image} \
|
||||
powershell c:/steps/entrypoint.ps1`;
|
||||
|
||||
return dockerCommand;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue