forked from OpenMS/OpenMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
45 lines (36 loc) · 1.91 KB
/
Dockerfile
File metadata and controls
45 lines (36 loc) · 1.91 KB
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
FROM ubuntu:18.04
# Step 1: set up a sane build system
USER root
RUN apt-get -y update
RUN apt-get install -y --no-install-recommends --no-install-suggests g++ autoconf automake patch libtool make git
# Step 2: get an up-to date cmake
RUN apt-get install -y cmake
# Step 3: advanced dependencies
RUN apt-get install -y --no-install-recommends --no-install-suggests libsvm-dev libglpk-dev libzip-dev zlib1g-dev libxerces-c-dev libbz2-dev
RUN apt-get install -y --no-install-recommends --no-install-suggests libboost-date-time1.62-dev \
libboost-iostreams1.62-dev \
libboost-regex1.62-dev \
libboost-math1.62-dev \
libboost-random1.62-dev
RUN apt-get install -y --no-install-recommends --no-install-suggests libhdf5-dev
RUN apt-get install -y --no-install-recommends --no-install-suggests qtbase5-dev libqt5svg5-dev libqt5opengl5-dev
###################################
# Step 4: Compiled dependencies
RUN git clone https://github.com/proteomicsunitcrg/OpenMS/contrib.git && rm -rf contrib/.git/
RUN mkdir contrib-build
WORKDIR /contrib-build
RUN cmake -DBUILD_TYPE=WILDMAGIC ../contrib && rm -rf archives src
RUN cmake -DBUILD_TYPE=EIGEN ../contrib && rm -rf archives src
RUN cmake -DBUILD_TYPE=COINOR ../contrib && rm -rf archives src
RUN cmake -DBUILD_TYPE=SQLITE ../contrib && rm -rf archives src
WORKDIR /
# Metadata
LABEL base.image="openms/contrib"
LABEL version="3.0"
LABEL software="OpenMS (dependencies)"
LABEL software.version="1804-v2.5.1"
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"