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 singularity support #468

Open
IllustratedMan-code opened this issue Jun 15, 2022 · 1 comment
Open

Add singularity support #468

IllustratedMan-code opened this issue Jun 15, 2022 · 1 comment

Comments

@IllustratedMan-code
Copy link

It would be amazing if there could be a mkSingularityImage function for singularity containers.

As far as I can tell, implementation will be very similar to the existing mkDockerImage function that already exists. There is a very similar nix package to dockerTools called singularity-tools in the nixpkgs repository.

the buildImage function in singularity-tools is used in a very similar way to the existing implementation here

@ShamrockLee
Copy link

ShamrockLee commented Jun 18, 2022

The singularity-tool is currently under refactoring (NixOS/nixpkgs#158486 , NixOS/nixpkgs#177908). A Singularity / Apptainer definition file generator and a definition-based buildImage would be added in a future PR (NixOS/nixpkgs#158486 (comment) , NixOS/nixpkgs#158486 (comment)) if things work out as expected.

We could also try to think of a way to generate a Singularity / Apptainer definition.

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

No branches or pull requests

2 participants