common-workflow-language / cwl-utils

Python utilities for CWL

Home Page:https://cwl-utils.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: tool to replace simple docker references with digests

mr-c opened this issue · comments

https://docs.docker.com/engine/reference/commandline/pull/#pull-an-image-by-digest-immutable-identifier

dockerPull: ubuntu:14.04 -> dockerPull: ubuntu@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2

Hey @mr-c, I did some work on Janis where we replace the simple container with it’s digest. Here’s some sample code here: https://github.com/PMCC-BioinformaticsCore/janis-assistant/tree/master/janis_assistant/data/container

(Look in __init__.py for a lookup method)

@illusional Nice! Want to move that functionality over here?

I’m pretty busy at the moment, but I’ll give it a shot when a get some time.