-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
75 lines (68 loc) · 2.11 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
FROM container-registry.phenomenal-h2020.eu/phnmnl/speaq:dev_v1.2.4_cv0.1.8
MAINTAINER PhenoMeNal-H2020 Project ([email protected])
LABEL software="tamenmr"
LABEL software.version="1.0"
LABEL version="0.7"
LABEL Description="tameNMR: Tools for Analysis of MEtabolomic NMR"
LABEL website="https://github.com/PGB-LIV/tameNMR"
LABEL documentation="https://github.com/PGB-LIV/tameNMR"
LABEL license="https://github.com/phnmnl/container-tamenmr/blob/master/License.txt"
LABEL tags="Metabolomics"
ARG git_branch="master"
# Install packages for compilation
RUN \
apt-get update --quiet -y \
&& apt-get install --quiet -y --no-install-recommends \
build-essential \
ca-certificates \
gcc \
gdebi-core \
gfortran \
g++ \
gsl-bin \
libcairo2-dev \
libcurl4-gnutls-dev \
libgsl0-dev \
libgsl2 \
libnlopt0 \
libnlopt-dev \
libssl-dev \
libv8-dev \
libxml2-dev \
libxt-dev \
make \
pandoc \
pandoc-citeproc \
r-cran-base64enc \
r-cran-caret \
r-cran-foreach \
r-cran-ggplot2 \
r-cran-multicore \
r-cran-qtl \
r-cran-rcurl \
r-cran-xml \
r-recommended \
software-properties-common \
unzip \
wget \
zip \
&& R -e "install.packages(c('ellipse', 'markdown', 'knitr', 'viridis','ggrepel','pls'), repos='https://cran.ma.imperial.ac.uk/')" \
&& cd /tmp \
&& git clone --depth 1 --single-branch --branch ${git_branch} https://github.com/PGB-LIV/tameNMR-PhenoMeNal tameNMR-PhenoMeNal \
&& apt-get --quiet -y --purge --auto-remove remove \
build-essential \
gcc \
git \
g++ \
*-dev \
gfortran \
make \
pandoc \
pandoc-citeproc \
&& apt-get -y clean && rm -rf /var/lib/{cache,log}/ /usr/src/rnmr1d /var/tmp/*
# Install tameNMR
RUN \
cd /tmp \
&& find tameNMR-PhenoMeNal/tameNMR -name '*.R' -exec install -m755 {} /usr/local/bin \;
# Add testing to container
ADD runTest1.sh /usr/local/bin/runTest1.sh