mxmlnkn/shub-containers:figlet

$ singularity pull shub://mxmlnkn/shub-containers:figlet

Singularity Recipe

BootStrap: docker
From: debian:9-slim

%setup
    echo 'Hello World!' > default-message.txt

%files
    default-message.txt /etc/default-message.txt

%environment
    export DEFAULT_MESSAGE="$( cat /etc/default-message.txt )"

%post
    apt-get update && apt-get -y install figlet

%runscript
    if test $# -eq 0; then
        figlet "$DEFAULT_MESSAGE"
    else
        figlet "$@"
    fi

%test
    if command -v figlet 1>/dev/null 2>&1; then
        echo 'Everything is ok.'
        exit 0
    else
        echo 'Figlet command is missing!'
        exit 1
    fi

%labels
    Author mk@tu-dresden.de
    Version v0.0.1

%help
Microservice for running figlet, a tool for creating ASCII text banners

Collection


View on Datalad

Metrics

key value
id /containers/mxmlnkn-shub-containers-figlet
collection name mxmlnkn/shub-containers
branch master
tag figlet
commit 1e68e0b9333632983c8e6ca181d8345125ed855b
version (container hash) f4507f1bd939e55b6af8074d8cb0cabd
build date 2019-03-01T19:49:14.152Z
size (MB) 79
size (bytes) 34361375
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.