Skip to content

Comments

Remove client buildkit dep#50318

Merged
vvoland merged 1 commit intomoby:masterfrom
dmcgowan:client-remove-buildkit-dep
Jul 9, 2025
Merged

Remove client buildkit dep#50318
vvoland merged 1 commit intomoby:masterfrom
dmcgowan:client-remove-buildkit-dep

Conversation

@dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Jul 2, 2025

This package does not need to be in the client package. It is not used anywhere and no one imports it (https://pkg.go.dev/github.com/docker/docker@v28.3.0+incompatible/client/buildkit) and it creates a buildkit dependency from the future client module.

Go-SDK: Remove `buildkit.ClientOpts`

@thaJeztah
Copy link
Member

Found one reference in

"github.com/docker/docker/client/buildkit"

Remove unused package from client which brings in buildkit dep

Signed-off-by: Derek McGowan <derek@mcg.dev>
@dmcgowan dmcgowan force-pushed the client-remove-buildkit-dep branch from 843bb97 to aae26b8 Compare July 2, 2025 23:08
@dmcgowan
Copy link
Member Author

dmcgowan commented Jul 2, 2025

Updated that use. If we want in the future, we could expose the dialer functions, but we should not be exposing interface to craft buildkit options in the client module.

@vvoland vvoland added impact/changelog impact/deprecation kind/refactor PR's that refactor, or clean-up code impact/go-sdk Noteworthy (compatibility changes) in the Go SDK area/go-sdk labels Jul 9, 2025
@vvoland vvoland merged commit 674e401 into moby:master Jul 9, 2025
169 of 178 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in go modules transition Jul 9, 2025
@dmcgowan dmcgowan moved this from Open to Complete in 🔦 Maintainer spotlight Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/go-sdk impact/changelog impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants