-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f76708a
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# singularity-ncdu | ||
|
||
Singularity recipe for [ncdu](https://dev.yorhel.nl/ncdu). | ||
|
||
## Building the image using the recipe | ||
### To build the image locally | ||
Run the script `build.sh` to build image locally. | ||
|
||
``` | ||
bash ./build.sh | ||
``` | ||
--- | ||
[![PSC](http://www.andrew.cmu.edu/user/icaoberg/images/logos/psc.png)](http://www.psc.edu) | ||
|
||
[icaoberg](http://www.andrew.cmu.edu/~icaoberg) at the [Pittsburgh Supercomputing Center](http://www.psc.edu) in the [Mellon College of Science](https://www.cmu.edu/ncdus/) at [Carnegie Mellon University](http://www.cmu.edu). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Bootstrap: docker | ||
From: alpine:edge | ||
|
||
%labels | ||
AUTHOR icaoberg | ||
MAINTAINER [email protected] | ||
WEBSITE http://www.andrew.cmu.edu/~icaoberg | ||
VERSION 1.13 | ||
|
||
#################################################################################### | ||
%appinstall ncdu | ||
apk update | ||
apk add ncdu | ||
|
||
%apphelp ncdu | ||
ncdu --help | ||
|
||
%apprun ncdu | ||
ncdu "$@" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
VERSION=1.13 | ||
IMAGE=singularity-ncdu-"$VERSION".sif | ||
DEFINITION=Singularity | ||
|
||
if [ -f $IMAGE ]; then | ||
rm -fv $IMAGE | ||
fi | ||
|
||
sudo singularity build $IMAGE $DEFINITION |