From dffc664480fede3c7a7e4643e3598e07769d7bd7 Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Mon, 4 Mar 2019 15:55:34 +0100 Subject: [PATCH] multiqc: add singularity files --- src/singularity_modules/multiqc/1.0/build.sh | 3 ++ .../multiqc/1.0/multiqc.def | 39 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100755 src/singularity_modules/multiqc/1.0/build.sh create mode 100644 src/singularity_modules/multiqc/1.0/multiqc.def diff --git a/src/singularity_modules/multiqc/1.0/build.sh b/src/singularity_modules/multiqc/1.0/build.sh new file mode 100755 index 0000000..1d9da65 --- /dev/null +++ b/src/singularity_modules/multiqc/1.0/build.sh @@ -0,0 +1,3 @@ +#/bin/sh +sudo singularity build --force bin/multiqc:1.0.sif src/singularity_modules/multiqc/1.0/multiqc.def +singularity sign bin/multiqc:1.0.sif diff --git a/src/singularity_modules/multiqc/1.0/multiqc.def b/src/singularity_modules/multiqc/1.0/multiqc.def new file mode 100644 index 0000000..195def4 --- /dev/null +++ b/src/singularity_modules/multiqc/1.0/multiqc.def @@ -0,0 +1,39 @@ +Bootstrap: docker +From: debian:stretch + +%labels +MAINTAINER Laurent Modolo + +%post +MULTIQC_VERSION=1.0 +PACKAGES="build-essential \ + python3-pip \ + python3-setuptools \ + python3-dev \ + python3-wheel \ + procps \ + locales" + +apt-get update && \ +apt-get install -y --no-install-recommends ${PACKAGES} && \ +apt-get clean + +locale-gen en_US.UTF-8 +LC_ALL=en_US.utf-8 +LANG=en_US.utf-8 +LC_ALL=C.UTF-8 +LANG=C.UTF-8 + +pip3 install multiqc==${MULTIQC_VERSION} + +%environment +export KALLISTO_VERSION=0.44.0 +export locale-gen en_US.UTF-8 +export LC_ALL=en_US.utf-8 +export LANG=en_US.utf-8 +export LC_ALL=C.UTF-8 +export LANG=C.UTF-8 + +%runscript +exec /bin/bash "$@" + -- GitLab