-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
38 lines (27 loc) · 1.42 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
FROM container-registry.phenomenal-h2020.eu/phnmnl/camera:dev_v1.33.3_cv0.8.56
MAINTAINER PhenoMeNal-H2020 Project ([email protected])
LABEL software=MSnbase
LABEL software.version=2.2
LABEL version=1.0
LABEL Description="MSnbase: Basic plotting, data manipulation and processing of MS-based Proteomics data."
# Install packages for compilation
RUN apt-get -y update
RUN apt-get -y --no-install-recommends install make gcc gfortran g++ libblas-dev liblapack-dev libxml++2.6-dev libexpat1-dev libxml2
# Install dependencies
RUN R -e 'install.packages(c("ggplot2","digest","lattice","XML","Rcpp","reshape2","plyr","stringr","intervals"), repos="https://mirrors.ebi.ac.uk/CRAN/")'
# Install MSnbase
RUN R -e 'install.packages("BiocInstaller", repos="http://bioconductor.org/packages/3.5/bioc"); library("BiocInstaller"); biocLite("MSnbase")'
# RUN R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("MSnbase")'
# De-install not needed packages
RUN apt-get -y --purge --auto-remove remove make gcc gfortran g++
# Clean-up
RUN apt-get -y clean && apt-get -y autoremove && rm -rf /var/lib/{cache,log}/ /tmp/* /var/tmp/*
# Add scripts folder to container
ADD scripts/*.r /usr/local/bin/
# Add files for testing
ADD runTest1.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/*.r
RUN chmod +x /usr/local/bin/runTest1.sh
# Define Entry point script
#ENTRYPOINT [ "Rscript" ]
#CMD [ "/usr/local/bin/show_chromatogram.r" ]