Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Sep 23, 2020

Adds the ability to catalog OCI images from tar archive or directory:

# explicitly
syft oci-archive:path/to.tar
syft oci-dir:path/to/dir

# or implicitly
syft path/to/tar/or/dir

Also hinted in the example above, this PR incorporates changing the URL approach for specifying the source transport to a URI oriented approach (see anchore/stereoscope#41 PR description for more details). TL;DR is :// is being replaced with : to fall in line with the URI RFC.

Lastly, migrates to using the stereoscope fixture utils instead of the functions from go-testutils.

Closes #177

@wagoodman wagoodman changed the title Add OCI support + user URI schemes Add OCI support + use URI schemes Sep 24, 2020
@wagoodman wagoodman added the enhancement New feature or request label Sep 24, 2020
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
@wagoodman wagoodman merged commit 3d91a66 into main Sep 25, 2020
@wagoodman wagoodman deleted the add-oci-support branch September 25, 2020 14:24
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
* add oci support + update image schemes

Signed-off-by: Alex Goodman <[email protected]>

* update docs to reflect OCI image sources + URI scheme change

Signed-off-by: Alex Goodman <[email protected]>

* update to oci-dir

Signed-off-by: Alex Goodman <[email protected]>

* bump upstream stereoscope pin

Signed-off-by: Alex Goodman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update CLI syntax for input source specification

2 participants