From bde11db324d09056c239c5d65b3d2d4c57953f8b Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Tue, 21 Sep 2021 14:20:44 +0200 Subject: [PATCH] danpos3: add non working Dockerfile --- .../danpos3/2f7f223/Dockerfile | 19 +++++++++++++++++++ .../danpos3/2f7f223/docker_init.sh | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 src/.docker_modules/danpos3/2f7f223/Dockerfile create mode 100755 src/.docker_modules/danpos3/2f7f223/docker_init.sh diff --git a/src/.docker_modules/danpos3/2f7f223/Dockerfile b/src/.docker_modules/danpos3/2f7f223/Dockerfile new file mode 100644 index 00000000..f9b4f633 --- /dev/null +++ b/src/.docker_modules/danpos3/2f7f223/Dockerfile @@ -0,0 +1,19 @@ +FROM ubuntu:20.04 + +ENV DANPOS_VERSION="2f7f223" +ENV TZ=Europe/Paris +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \ +&& apt update -qq \ +&& apt install --no-install-recommends software-properties-common -y dirmngr git python \ +&& wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc \ +&& add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/" +RUN apt-get update \ +&& apt-get install -y r-base=4.0.1 samtools \ +&& git clone https://github.com/sklasfeld/DANPOS3.git \ +&& cd DANPOS3 \ +&& git checkout $DANPOS_VERSION \ +&& pip install -r requirements.txt \ +&& chmod +x DANPOS3/*.py + +ENV PATH="/DANPOS3:${PATH}" +CMD [ "bash" ] diff --git a/src/.docker_modules/danpos3/2f7f223/docker_init.sh b/src/.docker_modules/danpos3/2f7f223/docker_init.sh new file mode 100755 index 00000000..7d82f740 --- /dev/null +++ b/src/.docker_modules/danpos3/2f7f223/docker_init.sh @@ -0,0 +1,4 @@ +#!/bin/sh +docker pull lbmc/danpos3:2f7f223 +docker build src/.docker_modules/danpos3/2f7f223 -t 'lbmc/danpos3:2f7f223' +docker push lbmc/danpos3:2f7f223 -- GitLab