Skip to content

Commit

Permalink
Added ncdu 1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
icaoberg committed Dec 23, 2020
0 parents commit f76708a
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
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).
19 changes: 19 additions & 0 deletions Singularity
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 "$@"
11 changes: 11 additions & 0 deletions build.sh
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

0 comments on commit f76708a

Please sign in to comment.