Mercurial > repos > ethevenot > multivariate
comparison docker/Dockerfile @ 0:fafba524dca6 draft
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 6596dbd39d20ee1962d9ebdd87eec04821239760
author | ethevenot |
---|---|
date | Wed, 27 Jul 2016 11:22:56 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:fafba524dca6 |
---|---|
1 FROM ubuntu:14.04 | |
2 | |
3 MAINTAINER Etienne Thevenot (etienne.thevenot@cea.fr) | |
4 | |
5 # Setup package repos | |
6 RUN echo "deb http://mirrors.ebi.ac.uk/CRAN/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list | |
7 RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 | |
8 | |
9 # Update and upgrade system | |
10 RUN apt-get update | |
11 RUN apt-get -y upgrade | |
12 | |
13 # Install R and other needed packages | |
14 RUN apt-get -y install r-base | |
15 RUN R -e "install.packages('batch', lib='/usr/lib/R/library', dependencies = TRUE, repos='http://mirrors.ebi.ac.uk/CRAN')" | |
16 RUN R -e "source('http://bioconductor.org/biocLite.R') ; biocLite('ropls')" | |
17 | |
18 # Clone tool | |
19 RUN apt-get -y install git | |
20 RUN git clone -b docker https://github.com/workflow4metabolomics/multivariate /files/multivariate | |
21 | |
22 # Clean up | |
23 RUN apt-get clean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/* | |
24 | |
25 # Define Entry point script | |
26 ENTRYPOINT ["/files/multivariate/multivariate_wrapper.R"] |