-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
43 lines (39 loc) · 928 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
FROM ubuntu:14.04
MAINTAINER "Joshua C. Randall" <jcrandall@alum.mit.edu>
# Install prerequisite packages
RUN \
apt-get -q=2 update && \
apt-get -q=2 upgrade && \
apt-get install -qq -y \
coreutils \
autoconf \
automake \
libtool \
make \
pkg-config \
git \
libfuse-dev \
zlib1g-dev
# Install htslib from source
RUN \
mkdir -p /opt && \
cd /opt && \
git clone https://github.com/samtools/htslib.git && \
cd htslib && \
autoconf && \
./configure && \
make && \
make install && \
ldconfig
# Build and install 13amp
ADD . /opt/13amp
WORKDIR /opt/13amp
RUN \
./autogen.sh && \
mkdir build && \
cd build && \
../configure HTSLIB_LDFLAGS="$(pkg-config --libs htslib)" \
HTSLIB_CFLAGS="$(pkg-config --cflags htslib)" \
FUSE_LDFLAGS="$(pkg-config --libs fuse)" \
FUSE_CFLAGS="$(pkg-config --cflags fuse)" && \
make install