Skip to content

Commit 2e23307

Browse files
authored
Merge pull request #763 from crazy-max/docker-install-xdg
docker(install): set missing XDG_RUNTIME_DIR env
2 parents b58200a + 7f3d74b commit 2e23307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docker/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export class Install {
418418
// avoid killing it when the action finishes running. Even if detached,
419419
// we also need to run dockerd in a subshell and unref the process so
420420
// GitHub Action doesn't wait for it to finish.
421-
`${sudo} env "PATH=$PATH" ${bashPath} << EOF
421+
`${sudo} env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${bashPath} << EOF
422422
( ${cmd} 2>&1 | tee "${this.runDir}/dockerd.log" ) &
423423
EOF`,
424424
[],

0 commit comments

Comments
 (0)