1
0
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:
Daniel J Walsh
2020-03-31 09:56:18 -04:00
parent 25c294c4c3
commit b2e7110255
31 changed files with 84 additions and 45 deletions

View File

@@ -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"