File: Dockerfile

package info (click to toggle)
discosnp 1%3A2.6.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,656 kB
  • sloc: python: 5,893; sh: 2,966; cpp: 2,692; makefile: 14
file content (40 lines) | stat: -rw-r--r-- 849 bytes parent folder | download | duplicates (5)
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
FROM debian:wheezy

MAINTAINER Pierre Peterlongo pierre.peterlongo@inria.fr

# Set discoSnp++ version
ENV MTG_VERSION 2.2.10

# Set noninteratve mode
ENV DEBIAN_FRONTEND noninteractive
ENV PACKAGES wget gcc g++ make cmake zlib1g-dev libboost-dev git

ENV DIR /opt
ENV SOURCEKS kissnp2
ENV BUILD build

WORKDIR ${DIR}

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

RUN git config --global http.sslVerify false

# clone the github repo
RUN git clone --recursive https://github.com/GATB/DiscoSnp.git

WORKDIR ${DIR}/${SOURCE}
RUN git submodule init

# Using an official release
RUN git checkout v${MTG_VERSION}
RUN git submodule update

RUN mkdir ${BUILD}
WORKDIR ${DIR}/${SOURCE}/${BUILD}

RUN cmake ..
RUN make

# symlink binary in /usr/local/bin
RUN ln -s ${DIR}/${SOURCE}/${BUILD}/bin/kissnp2 /usr/local/bin