The current docker image in which Cromwell and all workflow tasks run is ~14 gb. Reducing the size will decrease the time it takes the app to run, and by extension the cost. Currently, there are three main ways to reduce the size:
Remove the reference from the image, as mentioned in other issues
Remove the dependency on dhspence/docker-genomic-analysis:latest and keep only the minimal necessary resources from that image needed to run Chromoseq tools
Use docker multistage builds
It's also possible that reverting to a container-per-task style workflow, with thin images for each task, will be even more efficient than a minified but still large overall image. This could be combined with a multi node app setup, as described in (#6)
https://github.com/genome/docker-basespace_chromoseq/blob/3fd6e2ec4784433815a8cd56109cf7f2bb080d32/Dockerfile#L1
The current docker image in which Cromwell and all workflow tasks run is ~14 gb. Reducing the size will decrease the time it takes the app to run, and by extension the cost. Currently, there are three main ways to reduce the size:
dhspence/docker-genomic-analysis:latest
and keep only the minimal necessary resources from that image needed to run Chromoseq toolsIt's also possible that reverting to a container-per-task style workflow, with thin images for each task, will be even more efficient than a minified but still large overall image. This could be combined with a multi node app setup, as described in (#6)