forked from StaPH-B/docker-builds
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
39 lines (34 loc) · 953 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:xenial
LABEL base.image="ubuntu:xenial"
LABEL version="1"
LABEL software="Samtools"
LABEL software.version="1.9"
LABEL description="Tools (written in C using htslib) for manipulating next-generation sequencing data"
LABEL website="https://github.com/samtools/samtools"
LABEL license="https://github.com/samtools/samtools/blob/develop/LICENSE"
LABEL maintainer="Curtis Kapsak"
LABEL maintainer.email="[email protected]"
RUN apt-get update && apt-get install -y libncurses5-dev \
libbz2-dev \
liblzma-dev \
libcurl4-gnutls-dev \
zlib1g-dev \
libssl-dev \
gcc \
wget \
make \
perl \
bzip2
RUN mkdir samtools &&\
mkdir data &&\
cd samtools &&\
wget https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2 &&\
tar -xjf samtools-1.9.tar.bz2 &&\
rm samtools-1.9.tar.bz2 &&\
cd samtools-1.9 &&\
./configure &&\
make &&\
make install
# set perl locale settings
ENV LC_ALL=C
WORKDIR /data