fix: enable BuildKit for P2 image builds

This commit is contained in:
2026-08-11 19:03:50 +02:00
parent 908c99f90a
commit 7951891561
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -843,7 +843,7 @@ async function buildCoreImage(ctx) {
const build = await runCommand({
executable: ctx.executables.dockerPath,
argv: ["build", "-f", join(ctx.repositoryRoot, "docker", "core.Dockerfile"), "-t", tag, ctx.repositoryRoot],
env: ctx.execEnv,
env: { ...ctx.execEnv, DOCKER_BUILDKIT: "1" },
maxOutputBytes: 4 * 1024 * 1024,
});
if (build.exitCode !== 0) throw new Error(`core image build failed: ${build.stderr || build.stdout}`);