What would you like to be added:
An option to perform a docker save-type operation of an image to a cache location before extracting layers and scanning and/or updating the saved decompressed layer cache on disk to adhere to OCI spec.
Why is this needed:
Some tools need to do further analysis on images and are unable to use stereoscope to pull them, resulting in "duplicate" bytes on disk to perform single analysis and complications in processes to pull images. One such report was that an incompatibility in what stereoscope did vs. crane resulted in invalid images that syft was unable to scan.
What would you like to be added:
An option to perform a
docker save-type operation of an image to a cache location before extracting layers and scanning and/or updating the saved decompressed layer cache on disk to adhere to OCI spec.Why is this needed:
Some tools need to do further analysis on images and are unable to use stereoscope to pull them, resulting in "duplicate" bytes on disk to perform single analysis and complications in processes to pull images. One such report was that an incompatibility in what stereoscope did vs. crane resulted in invalid images that syft was unable to scan.