docker / sbom-cli-plugin

Plugin for Docker CLI to support SBOM creation using Syft
Apache License 2.0
150 stars 15 forks source link

Import syft as a library #2

Closed wagoodman closed 2 years ago

wagoodman commented 2 years ago

There are several polish-related reasons why it makes sense to use syft as a library instead of shelling out --this PR makes the necessary updates.

Note: this PR still pins syft to an unreleased version from a branch: https://github.com/anchore/syft/pull/864 . Don't merge this until we are using a released version of syft (validate with make validate-syft-release-version).