1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# Build Singularity
## Summary
This is a build container that generates installable singularity packages for
singularity v3.X.X. The container will output a deb and rpm in the current
directory.
## Known Bugs
Some versions of singularity contain the character 'v', such as v3.0.0. The
container will have to be rebuilt with the following statement modified:
```sh
curl -L -o singularity-${VERSION}.tar.gz \
https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-${VERSION}.tar.gz
```
## Usage
```sh
sudo singularity build build-singularity.sif build-singularity.def
./build-singularity.sif {version}
./build-singularity.sif 3.6.2
```
|