From f3849a5231c5909dcba744d05f53f6901adb5753 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Sun, 16 Sep 2018 04:21:33 +0100 Subject: [PATCH] moby-buildkit-disable-stuff Gbp-Pq: Name moby-buildkit-disable-stuff.patch --- .../moby/buildkit/executor/runcexecutor/executor.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/engine/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go b/engine/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go index 5225d5fc..ef7cc059 100644 --- a/engine/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go +++ b/engine/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go @@ -21,7 +21,7 @@ import ( "github.com/moby/buildkit/executor" "github.com/moby/buildkit/executor/oci" "github.com/moby/buildkit/identity" - rootlessspecconv "github.com/moby/buildkit/util/rootless/specconv" +// rootlessspecconv "github.com/moby/buildkit/util/rootless/specconv" "github.com/moby/buildkit/util/system" "github.com/opencontainers/runtime-spec/specs-go" "github.com/pkg/errors" @@ -175,9 +175,10 @@ func (w *runcExecutor) Exec(ctx context.Context, meta executor.Meta, root cache. return err } if w.rootless { - if err := rootlessspecconv.ToRootless(spec); err != nil { - return err - } +return errors.New("not implemented") +// if err := rootlessspecconv.ToRootless(spec); err != nil { +// return err +// } } if err := json.NewEncoder(f).Encode(spec); err != nil { -- 2.30.2