-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
63 lines (52 loc) · 1.2 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
61
62
63
ARG R_VERSION
FROM rocker/r-ver:$R_VERSION
RUN apt-get update
RUN apt-get install -y libssl-dev \
zlib1g-dev \
libssl-dev \
libxml2-dev \
libmariadb2 \
libmariadb-client-lgpl-dev \
libpq-dev \
pandoc \
pandoc-citeproc \
qpdf
RUN apt-get install -y libcurl4-openssl-dev
RUN install2.r --error \
boot \
cluster \
class \
codetools \
foreign \
KernSmooth \
lattice \
MASS \
Matrix \
mgcv \
nlme \
nnet \
rpart \
spatial \
survival
# package dev dependencies
RUN R -e 'install.packages("devtools")'
RUN R -e 'install.packages("rcmdcheck")'
RUN R -e 'install.packages("testthat")'
RUN R -e 'install.packages("roxygen2")'
RUN R -e 'install.packages("knitr")'
RUN R -e 'install.packages("pkgdown")'
RUN R -e 'install.packages("styler")'
# package dependencies
RUN apt install -y libgpgme11-dev
RUN R -e 'install.packages("git2r")'
RUN R -e 'install.packages("gpg")'
RUN R -e 'install.packages("stringi")'
RUN R -e 'install.packages("openssl")'
RUN R -e 'install.packages("sys")'
RUN R -e 'install.packages("getPass")'
RUN R -e 'install.packages("crayon")'
RUN R -e 'install.packages("clisymbols")'
RUN R -e 'install.packages("clipr")'
RUN mkdir /rpkg
WORKDIR /rpkg
ADD . /rpkg