-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
73 lines (69 loc) · 1.51 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
64
65
66
67
68
69
70
71
72
73
FROM rocker/geospatial:3.6.0@sha256:c5e2ed4aaf625035d90c19983e198cb624f5535494c8b65f8b90b6b71a8a140d
RUN set -x && \
apt-get update && \
apt-get install -y --no-install-recommends \
curl \
fonts-ipaexfont \
gnupg \
mecab \
libmecab-dev \
mecab-ipadic-utf8 && \
curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
apt-get install -y --no-install-recommends \
nodejs && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
npm install npm@latest -g && \
rm -rf /tmp/npm-*
ARG GITHUB_PAT
RUN set -x && \
echo "GITHUB_PAT=$GITHUB_PAT" >> /usr/local/lib/R/etc/Renviron
RUN set -x && \
install2.r --error \
assertr \
Boruta \
car \
caret \
cattonum \
conflicted \
corrr \
cowplot \
DALEX \
data.table \
DMwR \
drake \
embed \
ensurer \
fst \
GGally \
here \
janitor \
jpndistrict \
kokudosuuchi \
lwgeom \
mapview \
mlr \
mice \
naniar \
recipes \
rnaturalearth \
skimr \
StanHeaders \
textrecipes \
tidymodels \
usethis \
visdat && \
installGithub.r \
r-lib/lifecycle \
r-lib/[email protected] \
r-lib/rlang \
ropenscilabs/rnaturalearthhires \
tidyverse/dtplyr \
tidyverse/tidyr \
uribo/jpmesh \
uribo/textlintr && \
Rscript -e \
'install.packages("RMeCab", repos = "http://rmecab.jp/R")' && \
Rscript -e \
'remotes::install_git("https://gitlab.com/uribo/jmastats")' && \
rm -rf /tmp/downloaded_packages/ /tmp/*.rds