Created
June 2, 2021 21:37
-
-
Save icaoberg/664e8a37992b4316c6b15d1a6a9f1548 to your computer and use it in GitHub Desktop.
Singularity recipe for tokei
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-tokei-12.1.2.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: alpine:edge | |
%labels | |
AUTHOR icaoberg | |
MAINTAINER [email protected] | |
WEBSITE https://www.andrew.cmu.edu/~icaoberg | |
VERSION 12.1.2 | |
%post | |
apk update | |
apk add tokei | |
#################################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment