test: copy docker build helper in setup e2e

This commit is contained in:
Peter Steinberger
2026-04-26 22:54:26 +01:00
parent ff570f3a61
commit 3a8961af0f

View File

@@ -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(