Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Created June 3, 2021 02:31
Show Gist options
  • Save icaoberg/4c57e3c95cd410aedc36b1616b5859de to your computer and use it in GitHub Desktop.
Save icaoberg/4c57e3c95cd410aedc36b1616b5859de to your computer and use it in GitHub Desktop.
Singularity recipe for spellcheck
#!/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
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