From 3812564e0e176dbccbc61fe65e8f8aec75a0c7f5 Mon Sep 17 00:00:00 2001 From: Amandine PERRIN <amandine.perrin@pasteur.fr> Date: Wed, 2 Sep 2020 16:40:33 +0200 Subject: [PATCH] Add Singularity example --- Singularity | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Singularity diff --git a/Singularity b/Singularity new file mode 100644 index 00000000..02d4235a --- /dev/null +++ b/Singularity @@ -0,0 +1,21 @@ +Bootstrap:docker +From:ubuntu:latest + +%labels +MAINTAINER Vanessasaur +SPECIES Dinosaur + +%environment +RAWR_BASE=/code +export RAWR_BASE + +%runscript +echo "This gets run when you run the image!" +exec /bin/bash /code/rawr.sh "$@" + +%post +echo "This section happens once after bootstrap to build the image." +mkdir -p /code +apt-get install vim +echo "RoooAAAAR" >> /code/rawr.sh +chmod u+x /code/rawr.sh \ No newline at end of file -- GitLab