Created
June 3, 2021 02:31
-
-
Save icaoberg/4c57e3c95cd410aedc36b1616b5859de to your computer and use it in GitHub Desktop.
Singularity recipe for spellcheck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright © 2021 Pittsburgh Supercomputing Center. | |
# All Rights Reserved. | |
IMAGE=singularity-shellcheck-0.5.0.sif | |
DEFINITION=Singularity | |
if [ -f $IMAGE ]; then | |
rm -fv $IMAGE | |
fi | |
sudo singularity build $IMAGE $DEFINITION | |
if [ -f $IMAGE ]; then | |
exit 0 | |
else | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bootstrap: docker | |
From: debian:latest | |
%labels | |
AUTHOR icaoberg | |
MAINTAINER [email protected] | |
WEBSITE https://www.andrew.cmu.edu/~icaoberg | |
VERSION 0.5.0 | |
%post | |
apt update | |
apt install -y shellcheck | |
#################################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment