mirror of
https://github.com/containers/buildah.git
synced 2026-02-05 09:45:38 +01:00
vendor in latest containers/storage 1.18.0 and containers/common v0.7.0
This vendor moves containers/common/pkg/unshare to containers/storage/pkg/unshare Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -81,7 +81,7 @@ imageId, _, _, err := builder.Commit(context.TODO(), imageRef, buildah.CommitOpt
|
||||
|
||||
## Rootless mode
|
||||
|
||||
To enable rootless mode, import `github.com/containers/common/pkg/unshare` and add this code at the beginning of your main method:
|
||||
To enable rootless mode, import `github.com/containers/storage/pkg/unshare` and add this code at the beginning of your main method:
|
||||
|
||||
```go
|
||||
if buildah.InitReexec() {
|
||||
@@ -101,7 +101,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/containers/buildah"
|
||||
"github.com/containers/common/pkg/unshare"
|
||||
"github.com/containers/storage/pkg/unshare"
|
||||
is "github.com/containers/image/v5/storage"
|
||||
"github.com/containers/image/v5/types"
|
||||
"github.com/containers/storage"
|
||||
|
||||
Reference in New Issue
Block a user