From e318291102b4c0394ab9817b47a94c097f360299 Mon Sep 17 00:00:00 2001 From: Hyeshik Chang Date: Thu, 1 Dec 2016 18:20:47 +0900 Subject: [PATCH] Use source package to install GNU parallel. This makes easier binary packaging by just making a tarball of /opt/tailseeker for redistributions. --- docker/Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index a0850fc..d2cd17c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get -y update && \ apt-get -y upgrade && \ apt-get -y install whiptail git pkg-config gcc wget make && \ apt-get -y install libblas-dev liblapack-dev zlib1g-dev libbz2-dev gfortran && \ - apt-get -y install file python3 parallel python3-matplotlib python3-dev && \ + apt-get -y install file python3 python3-matplotlib python3-dev && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* @@ -89,6 +89,14 @@ RUN cd /tmp && \ install -s -m 0755 -t /opt/tailseeker/bin bin/bedtools && \ cd / && rm -rf /tmp/bedtools-2.26.0.tar.gz /tmp/bedtools2 +# Install parallel +RUN cd /tmp && \ + wget -q http://ftp.gnu.org/gnu/parallel/parallel-20161122.tar.bz2 && \ + tar -xjf parallel-20161122.tar.bz2 && \ + cd parallel-20161122 && \ + ./configure --prefix=/opt/tailseeker && make && make install && \ + cd / && rm -rf /tmp/parallel-20161122.tar.bz2 /tmp/parallel-20161122 + # Install tailseeker 3 RUN cd /opt/tailseeker && \ env TAILSEEKER_USE_AYB=yes TAILSEEKER_ANALYSIS_LEVEL=3 TAILSEEKER_USE_GSNAP=yes \