mirror of
https://github.com/rancher/os.git
synced 2025-09-03 15:54:24 +00:00
migrate to upstream libcompose in one and a half go
This commit is contained in:
2
vendor/github.com/opencontainers/runc/utils.go
generated
vendored
2
vendor/github.com/opencontainers/runc/utils.go
generated
vendored
@@ -168,7 +168,7 @@ func newProcess(p specs.Process) *libcontainer.Process {
|
||||
Args: p.Args,
|
||||
Env: p.Env,
|
||||
// TODO: fix libcontainer's API to better support uid/gid in a typesafe way.
|
||||
User: fmt.Sprintf("%d:%d", p.User.Uid, p.User.Gid),
|
||||
User: fmt.Sprintf("%d:%d", p.User.UID, p.User.GID),
|
||||
Cwd: p.Cwd,
|
||||
Stdin: os.Stdin,
|
||||
Stdout: os.Stdout,
|
||||
|
Reference in New Issue
Block a user