Mercurial > repos > ethevenot > univariate
view docker/Dockerfile @ 1:fdefbc780d2e draft
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit 59a3d6b0634a8bbe682d7b755bbb3735c07548dc
author | ethevenot |
---|---|
date | Sat, 30 Jul 2016 12:38:02 -0400 |
parents | ef64d3752050 |
children |
line wrap: on
line source
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"]