miniwdl icon indicating copy to clipboard operation
miniwdl copied to clipboard

container entrypoint

Open StephanDrukewitz opened this issue 2 years ago • 2 comments

Hello, is there an option to overwrite the container entrypoint ? In podman --entrypoint allows to change the cmd executet in the container

StephanDrukewitz avatar Mar 23 '22 11:03 StephanDrukewitz

Right now we don't have a way to add arguments to the podman run invocation; this did also just come up in #558, so we'll take a look at that.

However, there are a number of portability/compatibility issues with entrypoints, eg. https://github.com/broadinstitute/cromwell/issues/2256, also AWS Batch doesn't allow overriding them...so in general it's not advisable for WDLs to use images with custom entrypoints. Given an existing such image, one could bake a variant of it with a Dockerfile that just sets ENTRYPOINT ["/bin/bash"]

mlin avatar Mar 23 '22 20:03 mlin

Thanks for the quick answer, probably it is best to rebuild the image and work "clean"

StephanDrukewitz avatar Mar 24 '22 08:03 StephanDrukewitz