Mercurial > repos > ethevenot > univariate
annotate 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 |
| rev | line source |
|---|---|
|
0
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
1 FROM ubuntu:14.04 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
2 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
3 MAINTAINER Etienne Thevenot (etienne.thevenot@cea.fr) |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
4 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
5 # Setup package repos |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
6 RUN echo "deb http://mirrors.ebi.ac.uk/CRAN/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
7 RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
8 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
9 # Update and upgrade system |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
10 RUN apt-get update |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
11 RUN apt-get -y upgrade |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
12 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
13 # Install R and other needed packages |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
14 RUN apt-get -y install r-base |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
15 RUN R -e "install.packages('batch', lib='/usr/lib/R/library', dependencies = TRUE, repos='http://mirrors.ebi.ac.uk/CRAN')" |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
16 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
17 # Clone tool |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
18 RUN apt-get -y install git |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
19 RUN git clone -b docker https://github.com/workflow4metabolomics/univariate /files/univariate |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
20 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
21 # Put univariate folder into PATH |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
22 ENV PATH=$PATH:/files/univariate |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
23 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
24 # Clean up |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
25 RUN apt-get clean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/* |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
26 |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
27 # Define Entry point script |
|
ef64d3752050
planemo upload for repository https://github.com/workflow4metabolomics/univariate.git commit ca0e312e1c986c45310f37effe031f60009fbcab
ethevenot
parents:
diff
changeset
|
28 ENTRYPOINT ["/files/univariate/univariate_wrapper.R"] |
