Skip to content

Fetch all sources referenced by a Chainguard Package or Image SBOM

License

Notifications You must be signed in to change notification settings

chainguard-dev/chainguard-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chainguard-source

Fetch the open source code related to Chainguard packages and images, as defined in the SBOMs.

Example usage

Fetch sources by image name and tag:

$ chainguard-source --yes --image wolfi-base:latest
$ chainguard-source -y -i python:latest
$ chainguard-source -y -i jdk

Fetch sources by package name and version:

$ chainguard-source --yes --package hello-wolfi
$ chainguard-source -y -p hello-wolfi-2.12.1-r6

Fetch sources from local SBOM file:

chainguard-source -y --sbom /tmp/midnight-commander.sbom.spdx.json
chainguard-source -y -s /tmp/wordpress.latest.sbom.spdx.json