mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:20:43 +00:00
test: copy docker build helper in setup e2e
This commit is contained in:
@@ -57,7 +57,16 @@ async function createDockerSetupSandbox(): Promise<DockerSetupSandbox> {
|
||||
const logPath = join(rootDir, "docker-stub.log");
|
||||
|
||||
await mkdir(join(rootDir, "scripts", "docker"), { recursive: true });
|
||||
await mkdir(join(rootDir, "scripts", "lib"), { recursive: true });
|
||||
await copyFile(join(repoRoot, "scripts", "docker", "setup.sh"), scriptPath);
|
||||
await copyFile(
|
||||
join(repoRoot, "scripts", "lib", "docker-build.sh"),
|
||||
join(rootDir, "scripts", "lib", "docker-build.sh"),
|
||||
);
|
||||
await copyFile(
|
||||
join(repoRoot, "scripts", "lib", "docker-e2e-logs.sh"),
|
||||
join(rootDir, "scripts", "lib", "docker-e2e-logs.sh"),
|
||||
);
|
||||
await chmod(scriptPath, 0o755);
|
||||
await writeFile(dockerfilePath, "FROM scratch\n");
|
||||
await writeFile(
|
||||
|
||||
Reference in New Issue
Block a user