-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
61 lines (56 loc) · 1.3 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## start with the Docker "base R" Debian-based image
FROM r-base
## keep the packages current
RUN apt-get update -qq \
&& apt-get dist-upgrade -y
## install requirements for R packages
## best practice to run update each time in case the build restarts later
RUN DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -t unstable -y \
libgmp-dev \
curl \
libcurl4-openssl-dev \
python3 \
python3-dev \
libssl-dev \
default-jdk \
libxml2-dev \
libcgal-dev \
libfreetype6-dev \
xorg \
libx11-dev \
libftgl2 \
texinfo \
texlive-base \
texlive-extra-utils \
texlive-fonts-extra \
texlive-fonts-recommended \
texlive-generic-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
git \
libfreetype6-dev
RUN DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& apt-get install -t unstable -y \
r-cran-rcpp \
r-recommended \
r-cran-xml \
r-cran-rcpp \
r-cran-r6 \
r-cran-ggplot2 \
r-cran-knitr \
r-cran-rmarkdown \
r-cran-sys \
r-cran-bitops \
r-cran-askpass \
r-cran-curl \
r-cran-rappdirs \
r-cran-xml2 \
r-cran-catools \
r-cran-openssl \
r-cran-httr \
r-cran-assertthat \
r-cran-stringr
## r-cran-rselenium is not available
RUN Rscript -e 'install.packages(c("semver", "wdman", "binman", "RSelenium"))'