Skip to content

llbsolver: don't set materials=false on inputs - #6203

Merged
crazy-max merged 1 commit into
moby:masterfrom
tonistiigi:frontendinputs-materials
Sep 9, 2025
Merged

crazy-max merged 1 commit into
moby:masterfrom
tonistiigi:frontendinputs-materials

Conversation

@tonistiigi

Copy link
Copy Markdown
Member

I'm not really sure why this was set originally. We don't support nested builds in provenance that would allow replay (meaning we don't save the subbuild properties), but this shouldn't affect materials collection. If input contained sources they are still captured in the provenance.

Example build showing the issue: https://oci.dag.dev/?blob=docker.io/tonistiigi/dockerfile@sha256:29d88a9d397e45c98e475225bd510622b4eef65bdf9274729ddb166ce75ee91e&mt=application%2Fvnd.in-toto%2Bjson&size=1544

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@crazy-max crazy-max added this to the v0.25.0 milestone Sep 9, 2025
@crazy-max
crazy-max merged commit b90c1af into moby:master Sep 9, 2025
165 of 166 checks passed
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