Dockerfile 748 Bytes
Newer Older
Laurent Modolo's avatar
Laurent Modolo committed
1
2
3
4
5
FROM ubuntu:18.04
MAINTAINER Laurent Modolo

ENV RSEM_VERSION=1.3.0
ENV BOWTIE2_VERSION=2.3.4.1
6
ENV SAMTOOLS_VERSION=1.7
Laurent Modolo's avatar
Laurent Modolo committed
7
ENV PACKAGES git=1:2.17* \
Laurent Modolo's avatar
Laurent Modolo committed
8
9
10
   build-essential=12.4* \
   ca-certificates=20180409 \
   zlib1g-dev=1:1.2.11* \
11
12
   bowtie2=${BOWTIE2_VERSION}* \
   samtools=${SAMTOOLS_VERSION}*
Laurent Modolo's avatar
Laurent Modolo committed
13
14
15
16
17
18
19
20
21
22
23
24

RUN apt-get update && \
    apt-get install -y --no-install-recommends ${PACKAGES} && \
    apt-get clean

RUN git clone https://github.com/deweylab/RSEM.git RSEM_${RSEM_VERSION} && \
  cd RSEM_${RSEM_VERSION} && \
  git checkout tags/v${RSEM_VERSION} && \
  make && \
  cd .. && \
  mv RSEM_${RSEM_VERSION}/rsem-* RSEM_${RSEM_VERSION}/rsem_* RSEM_${RSEM_VERSION}/convert-* RSEM_${RSEM_VERSION}/extract-* /usr/bin/ && \
  rm -Rf RSEM_${RSEM_VERSION}