feat: Replace hard-coded singularity with profile-based containers
This commit is contained in:
parent
7f43f0282f
commit
96471746b9
1 changed files with 59 additions and 1 deletions
|
@ -61,7 +61,65 @@ try {
|
|||
System.err.println("WARNING: Could not load nf-core/config profiles: ${params.custom_config_base}/nfcore_custom.config")
|
||||
}
|
||||
|
||||
singularity.enabled = true
|
||||
profiles {
|
||||
docker {
|
||||
docker.enabled = true
|
||||
docker.userEmulation = true
|
||||
conda.enabled = false
|
||||
singularity.enabled = false
|
||||
podman.enabled = false
|
||||
shifter.enabled = false
|
||||
charliecloud.enabled = false
|
||||
apptainer.enabled = false
|
||||
}
|
||||
singularity {
|
||||
singularity.enabled = true
|
||||
singularity.autoMounts = true
|
||||
conda.enabled = false
|
||||
docker.enabled = false
|
||||
podman.enabled = false
|
||||
shifter.enabled = false
|
||||
charliecloud.enabled = false
|
||||
apptainer.enabled = false
|
||||
}
|
||||
podman {
|
||||
podman.enabled = true
|
||||
conda.enabled = false
|
||||
docker.enabled = false
|
||||
singularity.enabled = false
|
||||
shifter.enabled = false
|
||||
charliecloud.enabled = false
|
||||
apptainer.enabled = false
|
||||
}
|
||||
shifter {
|
||||
shifter.enabled = true
|
||||
conda.enabled = false
|
||||
docker.enabled = false
|
||||
singularity.enabled = false
|
||||
podman.enabled = false
|
||||
charliecloud.enabled = false
|
||||
apptainer.enabled = false
|
||||
}
|
||||
charliecloud {
|
||||
charliecloud.enabled = true
|
||||
conda.enabled = false
|
||||
docker.enabled = false
|
||||
singularity.enabled = false
|
||||
podman.enabled = false
|
||||
shifter.enabled = false
|
||||
apptainer.enabled = false
|
||||
}
|
||||
apptainer {
|
||||
apptainer.enabled = true
|
||||
apptainer.autoMounts = true
|
||||
conda.enabled = false
|
||||
docker.enabled = false
|
||||
singularity.enabled = false
|
||||
podman.enabled = false
|
||||
shifter.enabled = false
|
||||
charliecloud.enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
env {
|
||||
R_PROFILE_USER = "/.Rprofile"
|
||||
|
|
Loading…
Reference in a new issue