Skip to content

build: avoid panic on linking to nil target#3511

Merged
jsternberg merged 1 commit intodocker:masterfrom
tonistiigi:bake-nil-panic
Nov 11, 2025
Merged

build: avoid panic on linking to nil target#3511
jsternberg merged 1 commit intodocker:masterfrom
tonistiigi:bake-nil-panic

Conversation

@tonistiigi
Copy link
Member

improves #3508

Note that nil targets still do not work as buildkit does not currently support build inputs with nil values.

But this gives cleaner error from buildkit instead of panic on the client side.

Note that nil targets still do not work as buildkit
does not currently support build inputs with nil values.

But this gives cleaner error from buildkit instead of
panic on the client side.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@jsternberg jsternberg merged commit c1fbb49 into docker:master Nov 11, 2025
202 of 203 checks passed
@orgads
Copy link

orgads commented Nov 12, 2025

Thank you!

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.

4 participants