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

ENV SAMBLASTER_VERSION=0.1.24
5
ENV SAMTOOLS_VERSION=1.7
Laurent Modolo's avatar
Laurent Modolo committed
6
ENV PACKAGES curl=7.58.0* \
7
    samtools=${SAMTOOLS_VERSION}* \
Laurent Modolo's avatar
Laurent Modolo committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
    ca-certificates=20180409 \
    build-essential=12.4* \
    zlib1g-dev=1:1.2.11*

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

RUN curl -k -L https://github.com/GregoryFaust/samblaster/releases/download/v.${SAMBLASTER_VERSION}/samblaster-v.${SAMBLASTER_VERSION}.tar.gz -o samblaster-v.${SAMBLASTER_VERSION}.tar.gz && \
tar xvf samblaster-v.${SAMBLASTER_VERSION}.tar.gz && \
cd samblaster-v.${SAMBLASTER_VERSION}/ && \
make && \
cp samblaster /usr/bin && \
cd .. && \
rm -R samblaster-v.${SAMBLASTER_VERSION}/