kav2k/fortune:latest
$ singularity pull shub://kav2k/fortune:latest
Singularity Recipe
Bootstrap: docker
From: centos:6
%setup
hostname -f > $SINGULARITY_ROOTFS/etc/build_host
%post
yum -y --enablerepo=extras install epel-release
yum -y install fortune-mod
%environment
export HELLO="World"
%runscript
read host < /etc/build_host
echo "Hello, $HELLO! Fortune Teller, built by $host"
exec /usr/bin/fortune "$@"
%test
test -f /etc/build_host
test -f /usr/bin/fortune
Collection
- Name: kav2k/fortune
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/kav2k-fortune-latest |
collection name | kav2k/fortune |
branch | master |
tag | latest |
commit | f5aff90234b30bf79e7f31512614488933b3eefb |
version (container hash) | 08292086c832dc2d29c1887808fedbde |
build date | 2020-06-23T13:26:41.671Z |
size (MB) | 352 |
size (bytes) | 89604127 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.