From: Dmitry Smirnov Date: Sun, 16 Sep 2018 03:21:33 +0000 (+0100) Subject: moby-buildkit-disable-stuff X-Git-Tag: archive/raspbian/18.09.1+dfsg1-7+rpi1~1^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f3849a5231c5909dcba744d05f53f6901adb5753;p=docker.io.git moby-buildkit-disable-stuff Gbp-Pq: Name moby-buildkit-disable-stuff.patch --- 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 {