Dockerfile 578 Bytes
Newer Older
1
FROM alpine:3.8
2
3
4
MAINTAINER Laurent Modolo

ENV SAMTOOLS_VERSION=1.7
5
6
7
8
9
10
11
ENV PACKAGES git \
             make \
             gcc \
             musl-dev \
             zlib-dev \
             ncurses-dev \
             bzip2-dev \
Laurent Modolo's avatar
Laurent Modolo committed
12
13
             xz-dev \
             bash
14

15
16
17
18
19
20
21
22
23
24
25
26
RUN apk update && \
    apk add ${PACKAGES}

RUN git clone https://github.com/samtools/htslib.git && \
cd htslib && \
git checkout ${SAMTOOLS_VERSION}  && \
cd .. && \
git clone https://github.com/samtools/samtools.git && \
cd samtools && \
git checkout ${SAMTOOLS_VERSION} && \
make && \
cp samtools /usr/bin/