Skip to content

Commit c91bf3c

Browse files
Added e-evol 4.2.2
1 parent 290e4a0 commit c91bf3c

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

r-evol/v4.2.2/Dockerfile

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# R with packages:
2+
# - ape
3+
# - big.phylo
4+
# - ggplot2
5+
# - ggthemes
6+
# - plyr
7+
# - dplyr
8+
# - tidyr
9+
# - reshape2
10+
# - lubridate
11+
# - Phylogram
12+
# - Admixtools
13+
# https://cran.r-project.org/
14+
# v4.2.2
15+
16+
# base image: r-base:4.1.0
17+
FROM r-base:4.2.2
18+
19+
# File Author / Maintainer
20+
21+
22+
ENV CRANREPO="'https://pbil.univ-lyon1.fr/CRAN/'"
23+
ENV RLIBPATH="'/usr/local/lib/R/site-library/'"
24+
25+
RUN apt-get update && apt-get install -y procps libssl-dev \
26+
libcurl4-gnutls-dev curl git libopenmpi-dev \
27+
openmpi-bin openmpi-doc libxml2-dev apt-transport-https \
28+
libfontconfig1-dev libtool file libharfbuzz-dev \
29+
libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev \
30+
libjpeg-dev \
31+
&& R -e "install.packages('devtools',lib=$RLIBPATH,repo=$CRANREPO)" \
32+
&& R -e "library(devtools); withr::with_libpaths(new = $RLIBPATH, install_github(\"uqrmaie1/admixtools\",INSTALL_opts=\"--no-staged-install\"))" \
33+
&& R -e "install.packages('ape',lib=$RLIBPATH,repo=$CRANREPO)" \
34+
&& R -e "install.packages('treedater',lib=$RLIBPATH,repo=$CRANREPO)"\
35+
&& R -e "install.packages('phylogram',lib=$RLIBPATH,repo=$CRANREPO)"\
36+
&& R -e "install.packages('ggplot2',lib=$RLIBPATH,repo=$CRANREPO)" \
37+
&& R -e "install.packages('ggthemes',lib=$RLIBPATH,repo=$CRANREPO)" \
38+
&& R -e "install.packages('plyr',lib=$RLIBPATH,repo=$CRANREPO)" \
39+
&& R -e "install.packages('reshape2',lib=$RLIBPATH,repo=$CRANREPO)" \
40+
&& R -e "install.packages('dplyr',lib=$RLIBPATH,repo=$CRANREPO)" \
41+
&& R -e "install.packages('TreeDist',lib=$RLIBPATH,repo=$CRANREPO)" \
42+
&& R -e "install.packages('tidyr',lib=$RLIBPATH,repo=$CRANREPO)" \
43+
&& R -e "install.packages('lubridate',lib=$RLIBPATH,repo=$CRANREPO)"\
44+
&& R -e "library(devtools); withr::with_libpaths(new = $RLIBPATH, install_github(\"olli0601/big.phylo\",INSTALL_opts=\"--no-staged-install\"))" \
45+
&& apt-get autoremove -y \
46+
&& apt-get clean \
47+
&& rm -rf /var/lib/apt/lists/* \
48+
&& mkdir /pasteur
49+
50+
ENTRYPOINT ["/usr/bin/R"]

0 commit comments

Comments
 (0)