Skip to content

Increase flexibility in use of Dockerfile within Wave #4

@marcodelapierre

Description

@marcodelapierre

Hi @pditommaso , as per our thread a few days ago.

Right now, the main ways to instruct Nextflow/Wave to build containers are:

  1. via conda package manager + wave combo, with lots of flexibility (with/without NF modules, per process conda env, one conda env for whole workflow...)
  2. using a provided Dockerfile + wave, which only work with NF modules

Regarding point 2., I believe there is room for simple solutions that expand flexibility and hence user cases. I am thinking of users/workflows with the following features:

  • software is not available via package manager (because it is not there, or because it is in-house software/scripts); PLUS
  • EITHER: users that do not want to use NF modules in their pipelines (maybe because they only develop a limited number of workflow with common building blocks, and do not need modularity);
  • OR: workflow is prone to having a single container for the whole of it (e.g. python/R-heavy pipelines)

So, I was wondering about the following features:

  1. ability for NF/Wave to look for Dockerfile in main pipeline directory; to be used for all processes, eventually except those that have their own specific Dockerfile
  2. implementation that enables providing paths for process-/tag- specific Dockerfile, in the same way as process.container or process.conda .. something like process.dockerfile or wave.dockerfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions