bindear /dev
This commit is contained in:
parent
73ddda2810
commit
024737e38a
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -64,6 +64,7 @@ https://dl-cdn.alpinelinux.org/alpine/v3.17/community`), 0600))
|
||||||
params := append(
|
params := append(
|
||||||
[]string{"--bind", "./rootfs", "/",
|
[]string{"--bind", "./rootfs", "/",
|
||||||
"--ro-bind", ".", "/src",
|
"--ro-bind", ".", "/src",
|
||||||
|
"--dev-bind", "/dev", "/dev",
|
||||||
"--bind", tmp, "/work",
|
"--bind", tmp, "/work",
|
||||||
"--chdir", "/work",
|
"--chdir", "/work",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue