Steps to build and run a Docker image with dxCompiler, as an alternative to installing Java and running the dxCompiler.jar locally.
- Specify the dxCompiler version to use here.
- Run docker_build
- Login to DNAnexus with
dx login
and select a project. - Run docker_run with dxCompiler args as args.
./docker_run.sh -help
- For compiling a workflow, the local working directory is mounted to the container.
# General example
<path to docker_run.sh> compile <path to WDL source>
# From dxCompiler repo directory
./scripts/docker_image/docker_run.sh compile test/single_tasks/add3.wdl