Mercurial > repos > ethevenot > univariate
diff docker/Dockerfile @ 0:ef64d3752050 draft
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
author | ethevenot |
---|---|
date | Wed, 27 Jul 2016 11:44:34 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/Dockerfile Wed Jul 27 11:44:34 2016 -0400 @@ -0,0 +1,28 @@ +FROM ubuntu:14.04 + +MAINTAINER Etienne Thevenot (etienne.thevenot@cea.fr) + +# Setup package repos +RUN echo "deb http://mirrors.ebi.ac.uk/CRAN/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list +RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 + +# Update and upgrade system +RUN apt-get update +RUN apt-get -y upgrade + +# Install R and other needed packages +RUN apt-get -y install r-base +RUN R -e "install.packages('batch', lib='/usr/lib/R/library', dependencies = TRUE, repos='http://mirrors.ebi.ac.uk/CRAN')" + +# Clone tool +RUN apt-get -y install git +RUN git clone -b docker https://github.com/workflow4metabolomics/univariate /files/univariate + +# Put univariate folder into PATH +ENV PATH=$PATH:/files/univariate + +# Clean up +RUN apt-get clean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/* + +# Define Entry point script +ENTRYPOINT ["/files/univariate/univariate_wrapper.R"]