Skip to content

make bake definitions extensible for downstream overrides#393

Merged
vvoland merged 1 commit intodocker:mainfrom
crazy-max:remote-override
Apr 20, 2026
Merged

make bake definitions extensible for downstream overrides#393
vvoland merged 1 commit intodocker:mainfrom
crazy-max:remote-override

Conversation

@crazy-max
Copy link
Copy Markdown
Member

follow-up #392 (comment)

The Bake definition now exposes extension points for package names, package platform mappings, and package contexts instead of hardcoding all of them behind closed definitions. PKGS is now derived from PKGS_BASE and PKGS_EXTRA, pkgPlatforms() now reads from merged base and extra platform maps, and pkg, verify, and metadata now resolve their context through pkgContext().

Added a new section in the README with a usage example for remote override.

@crazy-max crazy-max marked this pull request as ready for review March 31, 2026 11:27
@crazy-max crazy-max requested a review from a team as a code owner March 31, 2026 11:27
@crazy-max crazy-max requested a review from vvoland March 31, 2026 11:27
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@vvoland vvoland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, haven't had the time yet to finalize things on sbx side, but IIRC it worked fine.

Let's get this in so it doesn't rot

@vvoland vvoland merged commit 05db2dc into docker:main Apr 20, 2026
481 checks passed
@crazy-max crazy-max deleted the remote-override branch April 20, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants