Skip to content

Update buildkit to v1.29; fix authprovider API change in buildkit v1.29#4214

Open
eriknordmark wants to merge 5 commits intolinuxkit:masterfrom
eriknordmark:update-buildkit
Open

Update buildkit to v1.29; fix authprovider API change in buildkit v1.29#4214
eriknordmark wants to merge 5 commits intolinuxkit:masterfrom
eriknordmark:update-buildkit

Conversation

@eriknordmark
Copy link
Copy Markdown
Contributor

@eriknordmark eriknordmark commented Apr 3, 2026

This is to handle CVE-2026-33748 and CVE-2026-33747.
Fixes #4213

- What I did

go get -u of buildkit

This brought in some need to update other packages, which make us hit the incompatible change in docker around AuthProvider, so this also fixes authprovider API change in buildkit v1.29

- How I did it

- How to verify it

Normal regression testing.

- Description for the changelog

Update the buildkit dependency to version v1.29

- A picture of a cute animal (not mandatory but encouraged)

eriknordmark and others added 5 commits April 3, 2026 22:18
This is to handle CVE-2026-33748 and CVE-2026-33747.

Signed-off-by: eriknordmark <erik@zededa.com>
v2.0.2 was built with Go 1.24 and fails against go.mod targeting Go 1.25.5.
v2.11.4 is the latest stable release built with Go 1.25+.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: eriknordmark <erik@zededa.com>
Regenerate vendor directory and update go.mod/go.sum to match the
buildkit v1.29 dependency updates.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
DockerAuthProviderConfig.ConfigFile was removed in buildkit v1.29.
Replace with AuthConfigProvider callback wrapping cf.GetAuthConfig.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
SA1019: golang.org/x/net/context is deprecated; use the standard
library context package instead.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eriknordmark eriknordmark changed the title Update buildkit to v1.29 Update buildkit to v1.29; fix authprovider API change in buildkit v1.29 Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pkglib: incompatible with buildkit v0.27.0+ due to removed ConfigFile field

1 participant