From e2b96e96f93d1da17b817eaa960b9d809bc61a14 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 14 Aug 2018 12:06:09 +0200 Subject: vendor: update buildah version Signed-off-by: Giuseppe Scrivano Closes: #1269 Approved by: rhatdan --- vendor/github.com/projectatomic/buildah/pkg/parse/parse.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vendor/github.com/projectatomic/buildah/pkg') diff --git a/vendor/github.com/projectatomic/buildah/pkg/parse/parse.go b/vendor/github.com/projectatomic/buildah/pkg/parse/parse.go index bd333a2cc..2dff18818 100644 --- a/vendor/github.com/projectatomic/buildah/pkg/parse/parse.go +++ b/vendor/github.com/projectatomic/buildah/pkg/parse/parse.go @@ -545,6 +545,8 @@ func defaultIsolation() (buildah.Isolation, error) { if isSet { if strings.HasPrefix(strings.ToLower(isolation), "oci") { return buildah.IsolationOCI, nil + } else if strings.HasPrefix(strings.ToLower(isolation), "rootless") { + return buildah.IsolationOCIRootless, nil } else if strings.HasPrefix(strings.ToLower(isolation), "chroot") { return buildah.IsolationChroot, nil } @@ -558,6 +560,8 @@ func IsolationOption(c *cli.Context) (buildah.Isolation, error) { if c.String("isolation") != "" { if strings.HasPrefix(strings.ToLower(c.String("isolation")), "oci") { return buildah.IsolationOCI, nil + } else if strings.HasPrefix(strings.ToLower(c.String("isolation")), "rootless") { + return buildah.IsolationOCIRootless, nil } else if strings.HasPrefix(strings.ToLower(c.String("isolation")), "chroot") { return buildah.IsolationChroot, nil } else { -- cgit v1.2.3-54-g00ecf