Cease using deprecated runc userlookup

Instead switch to github.com/moby/sys/user, which we already had
as an indirect dependency.

Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
Matt Heon
2024-02-02 10:32:41 -05:00
parent 91b8f208a2
commit 9fb57d346f
9 changed files with 9 additions and 9 deletions

View File

@ -47,7 +47,7 @@ import (
"github.com/containers/storage/pkg/lockfile"
stypes "github.com/containers/storage/types"
securejoin "github.com/cyphar/filepath-securejoin"
runcuser "github.com/opencontainers/runc/libcontainer/user"
runcuser "github.com/moby/sys/user"
spec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/opencontainers/runtime-tools/generate"
"github.com/opencontainers/selinux/go-selinux"

View File

@ -3,7 +3,7 @@
package libpod
import (
"github.com/opencontainers/runc/libcontainer/user"
"github.com/moby/sys/user"
spec "github.com/opencontainers/runtime-spec/specs-go"
)

View File

@ -4,7 +4,7 @@ package libpod
import (
"github.com/containers/common/pkg/capabilities"
"github.com/opencontainers/runc/libcontainer/user"
"github.com/moby/sys/user"
spec "github.com/opencontainers/runtime-spec/specs-go"
)