easybuild.tools.containers.singularity module

Support for generating singularity container recipes and creating container images

author:Shahzeb Siddiqui (Pfizer)
author:Kenneth Hoste (HPC-UGent)
author:Mohamed Abidi (Bright Computing)
class easybuild.tools.containers.singularity.SingularityContainer(easyconfigs)

Bases: easybuild.tools.containers.base.ContainerGenerator

RECIPE_FILE_NAME = 'Singularity'
TOOLS = {'singularity': '2.4', 'sudo': None}
build_image(recipe_path)

Build container image by calling out to ‘sudo singularity build’.

resolve_template()

Return template container recipe.

resolve_template_data()

Return template data for container recipe.

resolve_template_data_config()

Return template data for container recipe based on what is passed to –container-config.

static singularity_version()

Get Singularity version.