Refactor scripting to operate on chroot pattern
Summary
Update to support use in distroless environment, remove expectation to work within filesystem of target container.
Significant user experience upgrade. See README, but now can process reports for all images in traces, without pre-processing manually.
Fully automatable, and usable within CI patterns, if traces can be delivered to it as artifacts.
Details
These changes result in:
- A single image, which is reused
- A consistent user experience
- Manual or CI consumable patterns
The end result is more consistent than, and more reliable than the original implementation.
Related issues
Related to https://gitlab.com/gitlab-org/build/CNG/-/issues/2090
Edited by Jason Plum