The Galaxy community has heavily invested in the Bioconda-BioContainer stack during the last years. We love conda, because it is easy to use, reproducible and everyone can create packages effortlessly. This has lead to nearly 20,000 packages, 8,000 of those from Bioconda for the biomedical research community.
However, as we already discussed in “Practical Computational Reproducibility in the Life Sciences”, reproducibility and security are adjustable and a tradeoff involving useability and cost. If you require a higher level of reproducibility and security, you might want to run your tools in a Container - Docker and Singularity are the most prominent container technologies today. For that reason, we have created, over the years, 50,000 containers for all 8,000 Bioconda packages and some other containers for specific communities.
Thanks to ELIXIR and the BioContainers community, we have implemented last year automatic security checks for those containers, to detect whether the included software has known security issues. On container creation, the continuous integration automatically adds the containers to a vulnerability scan tool anchore that will create reports available in BioContainers web site for each tool. With this report, users or admins can have a view on known CVEs on embeded operating system or libraries. After analysis, we decided however not to sign containers, yet.
The last missing piece in the puzzle is to switch to those more reproducible and secure containers by default for all tools included in the European Galaxy server. And this is what we want to tackle during this year. Our plan is to do this in two steps:
-
Step 1: We take a CentOS Singularity container, mount our current conda environments into the container, and run the tool inside this container. This provides a secure environment and gives us a proven fallback for step 2.
-
Step 2: We mount all the previously created 50,000 Singularity containers using our community-built CVMFS repository into the cluster and share those containers with all nodes. Galaxy will then attempt to find a native container for every Galaxy tool. If such a container does not exist, which is unlikely, Galaxy will fallback to step 1 and run the tool in a secure Container environment using Conda packages.
If you have any questions, please do not hesitate to contact the BioContainers community or the European Galaxy Project.