-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
43 lines (37 loc) · 904 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
40
41
42
43
# Set the base image to Debian
FROM debian:latest
# File Author / Maintainer
MAINTAINER Matthieu Foll <follm@iarc.fr>
RUN apt-get clean && \
apt-get update -y && \
# Install dependences
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
g++ \
make \
zlib1g-dev \
libncurses5-dev \
ca-certificates \
dialog \
wget \
bzip2 && \
# Install samtools
wget https://github.com/samtools/samtools/releases/download/1.3/samtools-1.3.tar.bz2 && \
tar -jxf samtools-1.3.tar.bz2 && \
cd samtools-1.3 && \
make && \
make install && \
cd .. && \
rm -rf samtools-1.3 samtools-1.3.tar.bz2 && \
# Remove unnecessary dependences
DEBIAN_FRONTEND=noninteractive apt-get remove -y \
g++ \
make \
zlib1g-dev \
libncurses5-dev \
dialog \
wget \
bzip2 \
software-properties-common && \
# Clean
DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && \
apt-get clean