tern-tools / tern

Tern is a software composition analysis tool and Python library that generates a Software Bill of Materials for container images and Dockerfiles. The SBOM that Tern generates will give you a layer-by-layer view of what's inside your container in a variety of formats including human-readable, JSON, HTML, SPDX and more.
BSD 2-Clause "Simplified" License
960 stars 188 forks source link

Add functionality to pull local images with skopeo #1198

Closed rnjudge closed 1 year ago

rnjudge commented 1 year ago

Skopeo has support for local images but Tern currently always pulls the image provided by the user from a repository. This change adds parsing to skopeo.py to enable pulling of local images using skopeo. In order to pull local images, users must prefix their image with docker-daemon:. Instructions in the report menu have also been updated with instructions on how to pull local images.

Resolves #1191

Signed-off-by: Rui Valim root@ruivalim.com.br Signed-off-by: Rose Judge rjudge@vmware.com