Skip to content

add support for specifying non-image based bootstrap agents in Singularity container recipes via --container-base-config#2903

Merged
wpoely86 merged 3 commits intoeasybuilders:developfrom
boegel:container_base_config_non_image
May 26, 2019
Merged

add support for specifying non-image based bootstrap agents in Singularity container recipes via --container-base-config#2903
wpoely86 merged 3 commits intoeasybuilders:developfrom
boegel:container_base_config_non_image

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented May 24, 2019

Things that work now that did not before:

eb -C --container-base-config bootstrap=yum,osversion=7.6.1810 --experimental bzip2-1.0.6.eb

This is only partially useful for now, since the assumption is still that EasyBuild is installed in the container image (which it won't be if you start from a minimal OS), along with pip, Lmod, etc., and that an easybuild user exists that has write access to /app/ and /scratch/.
I plan to fix that in a follow-up PR, but I prefer keeping the scope of PRs limited to make them easier to review/merge.

This fixes #2901 along the way too (cc @ArangoGutierrez):

eb -C --container-base-config bootstrap=library,from=sylabsed/examples/lolcow:latest --experimental bzip2-1.0.6.eb

When an existing image is being pulled from a repository like Singularity Hub (shub), Sylabs Container Library (library) or Docker Hub (docker), or if a local container image (localimage) is used as base, the assumptions w.r.t. EasyBuild, Lmod and the easybuild user are probably going to stand (for now)...

…arity container recipes in --container-base-config
@boegel boegel changed the title add support for specifying non-image based bootstrap agents in Singularity container recipes in --container-base-config add support for specifying non-image based bootstrap agents in Singularity container recipes via --container-base-config May 25, 2019
Comment thread easybuild/tools/containers/singularity.py Outdated
@wpoely86 wpoely86 merged commit 91fba97 into easybuilders:develop May 26, 2019
@boegel boegel deleted the container_base_config_non_image branch May 27, 2019 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants