Skip to content

Add history metadata to builder layers - #2683

Open
iahsanGill wants to merge 1 commit into
buildpacks:mainfrom
iahsanGill:fix-builder-layer-history
Open

iahsanGill wants to merge 1 commit into
buildpacks:mainfrom
iahsanGill:fix-builder-layer-history

Conversation

@iahsanGill

Copy link
Copy Markdown

Summary

Add OCI history descriptions to layers created by pack builder create. Buildpack and extension layers include their ID and version, flattened layers list their contents, and existing build-image layer history is retained while assembling the builder.

Output

Before

Pack-created builder layers had empty descriptions in docker history and registry layer views.

After

Pack-created layers have descriptions for their contents, including entries such as Buildpacks Lifecycle, Buildpack: example/buildpack@1.0.0, and a deterministic module list for flattened layers.

Documentation

  • Should this change be documented?
    • Yes, see #___
    • No

Related

Resolves #2052

Signed-off-by: iahsanGill <mgill.bese22seecs@seecs.edu.pk>
@iahsanGill
iahsanGill requested review from a team as code owners August 30, 2026 16:38
@github-actions github-actions Bot added the type/enhancement Issue that requests a new feature or improvement. label Aug 30, 2026
@github-actions github-actions Bot added this to the 0.41.0 milestone Aug 30, 2026
@iahsanGill

Copy link
Copy Markdown
Author

cfbr

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/enhancement Issue that requests a new feature or improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add history metadata to layers created by pack builder create

1 participant