Skip to content

llb: avoid duplicate instances of sourcemaps in provenance#4190

Merged
crazy-max merged 1 commit intomoby:masterfrom
tonistiigi:duplicate-sourcemap
Sep 5, 2023
Merged

llb: avoid duplicate instances of sourcemaps in provenance#4190
crazy-max merged 1 commit intomoby:masterfrom
tonistiigi:duplicate-sourcemap

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

If build contains multiple subbuilds all of their sources are tracked in provenance attestations. When some subbuilds are coming from same source file (eg. same Dockerfile but different targets) currently the same file would appear in multiple times. This detects such duplicates and makes sure definitions from multiple subbuilds can map to same file.

@tonistiigi tonistiigi force-pushed the duplicate-sourcemap branch 2 times, most recently from d0b2efb to 403fb2a Compare August 31, 2023 15:28
If build contains multiple subbuilds all of their sources
are tracked in provenance attestations. When some subbuilds
are coming from same source file (eg. same Dockerfile but
different targets) currently the same file would appear
in multiple times. This detects such duplicates and makes
sure definitions from multiple subbuilds can map to same file.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi force-pushed the duplicate-sourcemap branch from 403fb2a to 1bbf73e Compare August 31, 2023 15:28
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.

3 participants