comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:ef64d3752050
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
17 # Clone tool
18 RUN apt-get -y install git
19 RUN git clone -b docker https://github.com/workflow4metabolomics/univariate /files/univariate
20
21 # Put univariate folder into PATH
22 ENV PATH=$PATH:/files/univariate
23
24 # Clean up
25 RUN apt-get clean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/*
26
27 # Define Entry point script
28 ENTRYPOINT ["/files/univariate/univariate_wrapper.R"]