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)

This method will be used on the concrete subclass to build the image using The path of the container recipe.

resolve_template()

This method should be implemented by the concrete subclass to return the correct template for the container recipe.

resolve_template_data()

This method should be implemented by the concrete subclass to return a dictionary of template data for container recipe generation.

easybuild.tools.containers.singularity.parse_container_base(base)

Parse value passed to –container-base option.