From 3b60e399f8bcdb02b410cba45a2c4613ecc55621 Mon Sep 17 00:00:00 2001 From: Thomas Brunner <35266133+ttbrunner@users.noreply.github.com> Date: Sat, 29 Jun 2019 19:39:08 +0200 Subject: [PATCH] Create a Singularity file with gdown.pl (#15) --- Singularity | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Singularity diff --git a/Singularity b/Singularity new file mode 100644 index 0000000..2b9b5f3 --- /dev/null +++ b/Singularity @@ -0,0 +1,14 @@ +BootStrap: docker +FROM: perl + +# This is the script that's executed when you don't call it with any script or shell to execute. +%runscript + exec /usr/local/bin/gdown.pl "$@" + +%setup + cp gdown.pl ${SINGULARITY_ROOTFS}/usr/local/bin/ + +# These commands will be executed inside of the container during building. +%post + apt-get update + apt install -y wget