-
Notifications
You must be signed in to change notification settings - Fork 18
/
dodona-r.dockerfile
121 lines (117 loc) · 2.52 KB
/
dodona-r.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
FROM r-base:4.4.0
RUN apt-get update && \
apt-get install -y --no-install-recommends \
default-jdk \
libcurl4-openssl-dev \
libfontconfig-dev \
libfreetype-dev \
libfribidi-dev \
libglpk-dev \
libgsl-dev \
libharfbuzz-dev \
libnlopt-dev \
libproc2-0 \
libssl-dev \
libtiff5-dev \
libxml2-dev \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
chmod 711 /mnt && \
groupmod -n runner docker && \
usermod -l runner -d /home/runner docker && \
mkdir -p /home/runner/workdir && \
chown -R runner:runner /home/runner && \
chown -R runner:runner /mnt && \
Rscript -e "withCallingHandlers(install.packages(c( \
'AUC' \
, 'BART' \
, 'BiocManager' \
, 'GGally' \
, 'HistData' \
, 'ISLR2' \
, 'ISwR' \
, 'MASS' \
, 'Matrix' \
, 'NHANES' \
, 'R6' \
, 'RColorBrewer' \
, 'ROCR' \
, 'RWeka' \
, 'Rtsne' \
, 'SnowballC' \
, 'base64enc' \
, 'car' \
, 'caret' \
, 'clickstream' \
, 'coin' \
, 'coxed' \
, 'data.table' \
, 'devtools' \
, 'dplyr' \
, 'dummy' \
, 'dslabs' \
, 'e1071' \
, 'ergm' \
, 'gam' \
, 'gbm' \
, 'ggplot2' \
, 'ggplotify' \
, 'ggrepel' \
, 'ggridges' \
, 'ggthemes' \
, 'glmnet' \
, 'gridBase' \
, 'gridGraphics' \
, 'gridExtra' \
, 'httr2' \
, 'igraph' \
, 'iml' \
, 'intergraph' \
, 'irlba' \
, 'jsonlite' \
, 'kableExtra' \
, 'lattice' \
, 'latticeExtra' \
, 'leaps' \
, 'lexicon' \
, 'lubridate' \
, 'multcomp' \
, 'node2vec' \
, 'plotrix' \
, 'pls' \
, 'polite' \
, 'qdap' \
, 'randomForest' \
, 'reshape2' \
, 'rtweet' \
, 'rvest' \
, 'scales' \
, 'scatterplot3d' \
, 'sentimentr' \
, 'skimr' \
, 'slam' \
, 'sna' \
, 'sp' \
, 'statnet' \
, 'survival' \
, 'text2vec' \
, 'textclean' \
, 'textstem' \
, 'tictoc' \
, 'tidytext' \
, 'tidyverse' \
, 'tm' \
, 'topicdoc' \
, 'topicmodels' \
, 'tree' \
, 'udpipe' \
, 'vader' \
, 'wordcloud' \
, 'wordcloud2' \
)), warning = function(w) stop(w))" \
-e "library(devtools)" \
-e "devtools::install_github('DougLuke/UserNetR')"
USER runner
WORKDIR /home/runner/workdir
COPY main.sh /main.sh