forked from hroest/docker_files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
80 lines (68 loc) · 3.43 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
FROM ubuntu:14.04
# Metadata
LABEL base.image="openms_dependencies"
LABEL version="2.3"
LABEL software="OpenMS (dependencies)"
LABEL software.version="2.3.1-small"
LABEL description="C++ libraries and tools for MS/MS data analysis"
LABEL website="http://www.openms.org/"
LABEL documentation="http://www.openms.org/"
LABEL license="http://www.openms.org/"
LABEL tags="Proteomics"
RUN sudo apt-get -y update && \
apt-get install -y --no-install-recommends --no-install-suggests g++ autoconf patch libtool make git && \
apt-get install -y --no-install-recommends --no-install-suggests software-properties-common python-software-properties && \
apt-get clean && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# fix to get cmake 3.x in ubuntu 14.04
RUN add-apt-repository ppa:george-edison55/cmake-3.x
RUN sudo apt-get -y update && \
apt-get install -y cmake && \
apt-get clean && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# install dependencies
## TODO: --no-install-suggests
RUN sudo apt-get -y update && \
apt-get install -y cmake && \
apt-get install -y --no-install-recommends --no-install-suggests libsvm-dev libglpk-dev libzip-dev zlib1g-dev libxerces-c-dev libbz2-dev && \
apt-get install -y --no-install-recommends --no-install-suggests libboost-date-time1.54-dev \
libboost-iostreams1.54-dev \
libboost-regex1.54-dev \
libboost-math1.54-dev \
libboost-random1.54-dev && \
apt-get clean && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN git clone https://github.com/OpenMS/contrib.git && rm -rf contrib/.git/
RUN mkdir contrib-build
# forgot automake !
RUN sudo apt-get -y update && \
apt-get install -y --no-install-recommends --no-install-suggests g++ automake && \
apt-get clean && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /contrib-build
RUN cmake -DBUILD_TYPE=SEQAN ../contrib && rm -rf archives src
RUN cmake -DBUILD_TYPE=WILDMAGIC ../contrib && rm -rf archives src
RUN cmake -DBUILD_TYPE=EIGEN ../contrib && rm -rf archives src
RUN cmake -DBUILD_TYPE=SQLITE ../contrib && rm -rf archives src
# install dependencies
RUN sudo apt-get -y update && \
apt-get install -y cmake && \
apt-get install -y --no-install-recommends --no-install-suggests coinor-cbc coinor-libcgl1 coinor-libclp1 coinor-libcoinutils-dev coinor-libcgl-dev && \
apt-get install -y --no-install-recommends --no-install-suggests coinor-libcbc-dev coinor-libclp-dev coinor-libosi-dev coinor-libvol-dev && \
apt-get clean && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# install dependencies
RUN sudo apt-get -y update && \
apt-get install -y cmake && \
apt-get install -y --no-install-recommends --no-install-suggests qt4-dev-tools qt4-default qt4-qtconfig qt4-qmake && \
apt-get install -y --no-install-recommends --no-install-suggests libqt4-dev libqt4-opengl-dev libqt4-svg && \
apt-get install -y --no-install-recommends --no-install-suggests libqt4-webkit libqtwebkit-dev && \
apt-get clean && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /