From 819684ce284827bbb4b5a15cd07ee061c233b1bc Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Thu, 18 Feb 2021 15:49:40 +0100
Subject: [PATCH] add multiqc 1.9

---
 src/.docker_modules/multiqc/1.9/Dockerfile    | 25 +++++++++++++++++++
 .../multiqc/1.9/docker_init.sh                |  4 +++
 src/nf_modules/multiqc/main.nf                |  2 +-
 3 files changed, 30 insertions(+), 1 deletion(-)
 create mode 100644 src/.docker_modules/multiqc/1.9/Dockerfile
 create mode 100755 src/.docker_modules/multiqc/1.9/docker_init.sh

diff --git a/src/.docker_modules/multiqc/1.9/Dockerfile b/src/.docker_modules/multiqc/1.9/Dockerfile
new file mode 100644
index 00000000..3e82ccb4
--- /dev/null
+++ b/src/.docker_modules/multiqc/1.9/Dockerfile
@@ -0,0 +1,25 @@
+FROM debian:stretch
+MAINTAINER Laurent Modolo
+
+ENV MULTIQC_VERSION=1.9
+ENV PACKAGES build-essential \
+             python3-pip \
+             python3-setuptools \
+             python3-dev \
+             python3-wheel \
+             procps \
+             locales
+
+RUN apt-get update && \
+    apt-get install -y --no-install-recommends ${PACKAGES} && \
+    apt-get clean
+
+RUN locale-gen en_US.UTF-8
+ENV LC_ALL=en_US.utf-8
+ENV LANG=en_US.utf-8
+ENV LC_ALL=C.UTF-8
+ENV LANG=C.UTF-8
+
+
+RUN pip3 install multiqc==${MULTIQC_VERSION}
+
diff --git a/src/.docker_modules/multiqc/1.9/docker_init.sh b/src/.docker_modules/multiqc/1.9/docker_init.sh
new file mode 100755
index 00000000..dcb28972
--- /dev/null
+++ b/src/.docker_modules/multiqc/1.9/docker_init.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+docker pull lbmc/multiqc:1.9
+docker build src/.docker_modules/multiqc/1.9 -t 'lbmc/multiqc:1.9'
+docker push lbmc/multiqc:1.9
diff --git a/src/nf_modules/multiqc/main.nf b/src/nf_modules/multiqc/main.nf
index 34865239..64cecaac 100644
--- a/src/nf_modules/multiqc/main.nf
+++ b/src/nf_modules/multiqc/main.nf
@@ -1,4 +1,4 @@
-version = "1.7"
+version = "1.9"
 container_url = "lbmc/multiqc:${version}"
 
 process multiqc {
-- 
GitLab