Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add apptainer support #41

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Add apptainer support #41

merged 1 commit into from
Sep 12, 2024

Conversation

johnbradley
Copy link
Collaborator

Adds apptainer definition and config to automatically build the apptainer image on release. The apptainer image is based on the docker image.

Part of #27

@johnbradley
Copy link
Collaborator Author

johnbradley commented Sep 4, 2024

Apptainer copies the labels from the upstream image so no extra labeling config was needed.

Copy link
Member

@hlapp hlapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See one inline comment for consideration. Otherwise looks 👍

apptainer.def Outdated
PYBIOCLIP_VERSION=

%runscript
exec bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using exec "$@" elsewhere, but that's for a container that has a defined entry point defined in the Dockerfile (a Jupyter container). Not sure how to assess whether that would be better or not.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this out and it does work better. I'm going to make this change.

Adds apptainer definition and config to automatically build the
apptainer image on release. The apptainer image is based on the
docker image.

Part of #27

Co-authored-by: Hilmar Lapp <hlapp@drycafe.net>
@johnbradley johnbradley merged commit 460313e into main Sep 12, 2024
1 check passed
@johnbradley johnbradley deleted the apptainer branch September 12, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants