Add Apptainer (Singularity) to Gitpod nf-core base image #2345
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To test and develop the respective features for #2336, I had to install Apptainer in Gitpod several times a day.
Although I am not sure how often other people will need it, I see little harm in adding Apptainer by default to the Gitpod image. The image is already quite bloated with conda, so the additional 80MB-100MB will barely matter?
Unfortunately, I could not test the new image. I tried to build it locally, but the
RUN nextflow self-update
step seems to get stuck atDownloading dependency org.pf4j:pf4j-update:jar:2.3.0
. That one step is running now since 5h and the whole build so far is taking a little over 7h, which I think might be a MacM1 issue?So whoever will review this PR should please clone this, navigate to the folder
cd tools
and rundocker build . -f nf_core/gitpod/gitpod.Dockerfile -t testgitpodwithapptainer
to see if the image builds successfully and how big the new image will be.
PR checklist
CHANGELOG.md
is updateddocs
is updated