forked from broadinstitute/cromwell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathudocker.conf
30 lines (26 loc) · 1.03 KB
/
udocker.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This is an example of how you can use udocker with Cromwell
# *This is not a complete configuration file!* The
# content here should be copy pasted into the backend -> providers section
# of cromwell.example.backends/cromwell.examples.conf in the root of the repository.
# You should uncomment lines that you want to define, and read carefully to customize
# the file. If you have any questions, please open an issue at
# https://www.github.com/broadinstitute/cromwell/issues
# Documentation
# https://cromwell.readthedocs.io/en/develop/tutorials/Containers/#udocker
backend {
default = udocker
providers {
udocker {
# The backend custom configuration.
actor-factory = "cromwell.backend.impl.sfs.config.ConfigBackendLifecycleActorFactory"
config {
run-in-background = true
runtime-attributes = """
String? docker
"""
submit-docker = """
udocker run -v ${cwd}:${docker_cwd} ${docker} ${job_shell} ${script}
"""
}
}
}