Skip to content

SBOM does not get built for minirootfs #2084

@alexhaydock

Description

@alexhaydock

I'm trying to explore using apko to build minirootfs images and I'm exploring SBOM generation as part of this.

When calling apko build-minirootfs --help I see:

      --sbom-path string                     generate an SBOM

Which does appear to come from build-minirootfs.go specifically:

build.WithSBOM(sbomPath),

cmd.Flags().StringVar(&sbomPath, "sbom-path", "", "generate an SBOM")

But unless I'm missing something, I think that although that sbomPath argument does get passed into BuildMinirootFSCmd, I don't think the BuildMinirootFSCmd function actually does anything with it.

Am I missing something, or is the SBOM generation not actually fully hooked-up for minirootfs builds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions