-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDockerfile
30 lines (24 loc) · 1.75 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
FROM container-registry.phenomenal-h2020.eu/phnmnl/rbase:dev_v3.4.4-1xenial0_cv1.0.20
MAINTAINER PhenoMeNal-H2020 Project ([email protected])
LABEL software="XCMS"
LABEL software.version="1.53.1"
LABEL version="0.1"
LABEL Description="XCMS: Framework for processing and visualization of chromatographically separated and single-spectra mass spectral data."
LABEL website="https://github.com/sneumann/xcms"
LABEL documentation="https://github.com/phnmnl/container-xcms/blob/master/README.md"
LABEL license="https://github.com/phnmnl/container-midcor/blob/master/License.txt"
LABEL tags="Metabolomics"
# Install packages for compilation
RUN apt-get -y update && apt-get -y --no-install-recommends install make gcc gfortran g++ libnetcdf-dev libxml2-dev libblas-dev liblapack-dev libssl-dev pkg-config git && \
R -e 'source("https://bioconductor.org/biocLite.R"); biocLite(c("MSnbase","mzR","MassSpecWavelet","S4Vectors","BiocStyle","faahKO","msdata"))' && \
R -e 'source("https://bioconductor.org/biocLite.R");biocLite(c("lattice","RColorBrewer","plyr","RANN","multtest","knitr","ncdf4","microbenchmark","RUnit"))' && \
R -e 'source("https://bioconductor.org/biocLite.R");biocLite("devtools")' && \
R -e 'source("https://bioconductor.org/biocLite.R");biocLite("ncdf4")' && \
R -e 'library(devtools); install_github(repo="sneumann/xcms", ref="d9baa6ca364f4dd197a9eedd361869cf0787dbc3")' && \
apt-get -y --purge --auto-remove remove make gcc gfortran g++ libblas-dev liblapack-dev && \
apt-get -y clean && apt-get -y autoremove && rm -rf /var/lib/{cache,log}/ /tmp/* /var/tmp/*
# Add scripts to container
ADD scripts/*.r /usr/local/bin/
RUN chmod +x /usr/local/bin/*.r
# Add testing to container
ADD runTest1.sh /usr/local/bin/runTest1.sh