From bc023a734c51f69b9978880551b39ae31c548b24 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Tue, 2 Nov 2021 11:31:31 +0100
Subject: [PATCH] multiqc: update 1.9 -> 1.11

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

diff --git a/src/.docker_modules/multiqc/1.11/Dockerfile b/src/.docker_modules/multiqc/1.11/Dockerfile
new file mode 100644
index 00000000..afd7fe08
--- /dev/null
+++ b/src/.docker_modules/multiqc/1.11/Dockerfile
@@ -0,0 +1,25 @@
+FROM debian:stretch
+MAINTAINER Laurent Modolo
+
+ENV MULTIQC_VERSION=1.11
+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.11/docker_init.sh b/src/.docker_modules/multiqc/1.11/docker_init.sh
new file mode 100755
index 00000000..5831c6ec
--- /dev/null
+++ b/src/.docker_modules/multiqc/1.11/docker_init.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+docker pull lbmc/multiqc:1.11
+# docker build src/.docker_modules/multiqc/1.11 -t 'lbmc/multiqc:1.11'
+# docker push lbmc/multiqc:1.11
+docker buildx build --platform linux/amd64,linux/arm64 -t "lbmc/multiqc:1.11" --push src/.docker_modules/multiqc/1.11
diff --git a/src/nf_modules/multiqc/main.nf b/src/nf_modules/multiqc/main.nf
index 0f40e322..ee3611da 100644
--- a/src/nf_modules/multiqc/main.nf
+++ b/src/nf_modules/multiqc/main.nf
@@ -20,7 +20,7 @@ multiqc(
 )
 */
 
-version = "1.9"
+version = "1.11"
 container_url = "lbmc/multiqc:${version}"
 
 params.multiqc = ""
-- 
GitLab