fix: pass the real docker config home in the P3 acceptance runner

This commit is contained in:
2026-08-12 16:16:29 +02:00
parent d0f1f24683
commit aeb2329717
+1 -1
View File
@@ -1032,7 +1032,7 @@ async function setupRealContext({ repositoryRoot = defaultRepositoryRoot, env =
const pathValue = [...new Set([dirname(execs.gitPath), dirname(execs.dockerPath), "/usr/bin", "/bin", "/opt/homebrew/bin", "/usr/local/bin"])].join(":");
// Docker CLI plugins (buildx) live under the real user's ~/.docker; the wrapper runs with a
// scrubbed environment, so derive the real home from the passwd entry and expose DOCKER_CONFIG.
const realHome = env.P2_REAL_HOME ?? realUserHome();
const realHome = env.P3_REAL_HOME ?? realUserHome();
const execEnv = buildSafeEnvironment({ ambient: env, fixture: {
PATH: pathValue,
HOME: run.root,