Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
In order to offer better traceability of the code and runtime environment (not just the underlying execution artifacts annotated by CWLProv / W3C PROV when running processing), annotate the provided docker image with best practice provenance details.
Detail
Employ docker traceability attestations:
Requires an intermediate step to setup the
docker-container
driver asbuilder
:https://docs.docker.com/build/builders/drivers/docker-container/
Allows a better Docker Scout health score (other items remaining to iron out the score to be addressed in separate PRs).
Before
https://hub.docker.com/layers/pavics/weaver/6.4.0/images/sha256-17ed69160f769eb88f019b77a46223ed20e5ef98319e2d0392f8009aa7378294
After
https://hub.docker.com/layers/pavics/weaver/6.5.0-rc/images/sha256-85cc04f422d81ec0e637e77d918684c6c702ca4b6a55c1c28e069cbd1900cc98
Usage / Validation
docker buildx imagetools inspect pavics/weaver:6.5.0-rc --format "{{ json .Provenance.SLSA }}"
Example parts extracts that can be tracked with guaranteed using provenance:
... and many other references that are usually "assumed" but not actually guaranteed (eg: manual push of a tag or any other atypical environment build configuration).
Comparison with other PAVICS-related images