Skip to content

feat(sbom): add packages install stage and os-pm SBOM support#110

Draft
nervgh wants to merge 3 commits into
mainfrom
feat/sbom/install-and-inventory-binaries-via-pm
Draft

feat(sbom): add packages install stage and os-pm SBOM support#110
nervgh wants to merge 3 commits into
mainfrom
feat/sbom/install-and-inventory-binaries-via-pm

Conversation

@nervgh

@nervgh nervgh commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Introduce a dedicated build stage for installing operating system packages (via pm install) and SBOM enrichment for OSPM packages using CycloneDX format. This ensures package dependencies are installed in a separate, cacheable stage and that the SBOM contains accurate package metadata from the runtime image.

nervgh added 2 commits June 10, 2026 20:30
Introduce a new `packages` field in stapel image config that supports
specifying package sources (e.g., os-pm) via a file path or an inline
list. This enables declarative OS package installation within the image
definition.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
Introduce a dedicated build stage for installing operating system
packages (via `pm install`) and SBOM enrichment for OSPM packages using
CycloneDX format. This ensures package dependencies are installed in a
separate, cacheable stage and that the SBOM contains accurate package
metadata from the runtime image.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
@nervgh nervgh force-pushed the feat/sbom/install-and-inventory-binaries-via-pm branch from 10999ed to e6b0aa9 Compare June 11, 2026 09:35
Base automatically changed from feat/sbom/add-packages-and-pm-directives to main June 11, 2026 13:08
support

Centralize package dedup and sorting in config normalization,
simplifying the build stage. File-based package lists are now
rejected at parse time with a clear error, as they require
giterminism support that is not currently implemented.

Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
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.

1 participant