Open rcannood opened 1 year ago
@DriesSchaumont noted that we can use https://docs.docker.com/engine/sbom/ for this, which seems like a great solution to the problem!
Caveats
docker sbom ghcr.io/openpipelines-bio/mapping_cellranger_multi:0.9.0
docker sbom ghcr.io/openpipelines-bio/process_10xh5_filter_10xh5:0.9.0
Maybe I just need to update syft → https://github.com/anchore/syft/pull/1790Indeed, with a newer version of Syft, the R packages do show up.
syft ghcr.io/openpipelines-bio/process_10xh5_filter_10xh5:0.9.0
However it still doesn't detect CellRanger:
syft ghcr.io/openpipelines-bio/mapping_cellranger_multi:0.9.0
I am going to drop this here: https://github.com/microsoft/sbom-tool which uses: https://github.com/microsoft/component-detection
I was experimenting with listing version numbers of Docker images so they can be documented. For reference, I used the following code:
This could be executed immediately after a Docker image has been built (maybe not by default, but definitely during a
main_build
and a release). This information could then be stored inside the viash config.Additionally, we should add a way for adding versions of custom cli tools, such as:
(Would need to find a better name for 'usage')
With
version.sh
: