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

gaughen/chainguard-source

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f62d57d · Mar 21, 2025

History

31 Commits
Feb 3, 2025
Jan 30, 2025
Mar 21, 2025
Feb 20, 2025

Repository files navigation

chainguard-source

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

Note: This shell script is a prototype. It will hopefully work for you but your mileage may vary.

Example usage

Fetch sources by image name and tag:

$ chainguard-source --yes --image cgr.dev/chainguard/wolfi-base:latest
$ chainguard-source -y -i cgr.dev/chainguard/python:latest
$ chainguard-source -y -i cgr.dev/chainguard/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

About

Fetch all sources referenced by a Chainguard Package or Image SBOM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%