monaghaa/singularity_git_tutorial:latest

$ singularity pull shub://monaghaa/singularity_git_tutorial:latest

Singularity Recipe

Bootstrap:docker  
From:alpine:latest

%labels
MAINTAINER Andy M

%environment
HELLO_BASE=/code
export HELLO_BASE

%runscript
echo "This script is executed when you 'singularity run' the image!" 
exec /bin/sh /code/hello.sh "$@"  

%post  
echo "This section is performed after you bootstrap to build the image."  
apk update
mkdir -p /code  
apk add vim nano bash 
echo "echo Hello World" >> /code/hello.sh
chmod u+x /code/hello.sh

Collection


View on Datalad

Metrics

key value
id /containers/monaghaa-singularity_git_tutorial-latest
collection name monaghaa/singularity_git_tutorial
branch master
tag latest
commit b886c6e47665aac28e40605bf0b3a4649046dc31
version (container hash) fc94c3b44a2353ad3c9cc38d8fc09016
build date 2020-05-15T20:27:29.022Z
size (MB) 50.0
size (bytes) 14241823
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.