Open DriesSchaumont opened 4 months ago
The issue seems to be with line 42 in ViashBuild.scala
:
val exec_path = resources.mainScript.map(scr => Paths.get(output, scr.resourcePath).toString)
For Nextflow runners, there is no mainScript, so subsequent code is not executed ... but in itself that makes sense, because the code to generate the docker file would be in the bash wrapper, which we just established isn't there.
What happened?
When using
viash ns build --setup cb
, the docker build is not being executed for a component that has a docker engine specified and only the nextflow runner (executable runner is missing).Steps to reproduce
First make sure that the docker image does not exist
Then run the following script to reproduce:
Expected behavior
The docker image should have been build by viash and should be available to nextflow.
Relevant log output
Version
Possible solution
No response
Confirmation
Additional context
No response