DockerCLI/vendor
Sebastiaan van Stijn febb37a38e
remove buildkit as dependency
This copies the github.com/moby/buildkit/util/appcontext
package as an internal package. The appcontext package from
BuildKit was the only remaining dependency on BuildKit, and
while we may need some of its functionality, the implementation
is not correct for how it's used in docker/cli (so would need
a rewrite).

Moving a copy of the code into the docker/cli (but as internal
package to prevent others from depending on it) is a first step
in that process, and removes the circular dependency between
BuildKit and the CLi.

We are only using these:

    tree vendor/github.com/moby/buildkit
    vendor/github.com/moby/buildkit
    ├── AUTHORS
    ├── LICENSE
    └── util
        └── appcontext
            ├── appcontext.go
            ├── appcontext_unix.go
            ├── appcontext_windows.go
            └── register.go

    3 directories, 6 files

Before this:

    go mod graph | grep ' github.com/docker/cli'
    github.com/moby/buildkit@v0.11.6 github.com/docker/cli@v23.0.0-rc.1+incompatible

After this:

    go mod graph | grep ' github.com/docker/cli'
    # (nothing)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-09-28 00:04:51 +02:00
..
dario.cat/mergo rename and update mergo module 2023-06-26 22:25:52 +02:00
github.com remove buildkit as dependency 2023-09-28 00:04:51 +02:00
go.etcd.io/etcd/raft/v3 vendor: github.com/docker/swarmkit 616e8db4c3b0 2022-03-16 15:39:52 +01:00
go.opentelemetry.io vendor: github.com/docker/docker 06499c52e2b1 (v25.0.0-dev) 2023-09-08 01:55:58 +02:00
golang.org/x vendor: golang.org/x/tools v0.8.0 2023-09-19 16:36:16 +02:00
google.golang.org vendor: google.golang.org/grpc v1.56.2 2023-09-19 16:37:37 +02:00
gopkg.in/yaml.v2 vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
gotest.tools/v3 vendor: gotest.tools/v3 v3.5.0 2023-07-29 21:04:40 +02:00
modules.txt remove buildkit as dependency 2023-09-28 00:04:51 +02:00