runner: bind /proc

esto arregla npm install que a veces se rompe
This commit is contained in:
Cat /dev/Nulo 2023-01-30 15:59:22 -03:00
parent c52c707530
commit da941d82b8

View file

@ -85,6 +85,7 @@ https://dl-cdn.alpinelinux.org/alpine/v3.17/community`), 0600); err != nil {
[]string{"--bind", rootfs, "/", []string{"--bind", rootfs, "/",
"--ro-bind", src, "/src", "--ro-bind", src, "/src",
"--dev-bind", "/dev", "/dev", "--dev-bind", "/dev", "/dev",
"--dev-bind", "/proc", "/proc",
"--bind", tmp, "/work", "--bind", tmp, "/work",
"--unshare-user", "--uid", "1000", "--gid", "1000", "--unshare-user", "--uid", "1000", "--gid", "1000",
"--setenv", "HOME", "/home/repro", "--setenv", "HOME", "/home/repro",