forked from dodona-edu/docker-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dodona-r.dockerfile
117 lines (113 loc) · 2.59 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
FROM r-base:4.1.2
# Make sure the students can't find our secret path, which is mounted in
# /mnt with a secure random name.
RUN apt-get update && \
apt-get install -y --no-install-recommends \
default-jdk=2:1.11-72 \
libcurl4-openssl-dev=7.79.1-2 \
libfontconfig-dev=2.13.1-4.2 \
libfreetype-dev=2.11.0+dfsg-1 \
libgsl-dev=2.6+dfsg-2 \
libssl-dev=1.1.1l-1 \
libxml2-dev=2.9.12+dfsg-5+b1 \
procps=2:3.3.17-5 \
&& \
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' \
, 'igraph' \
, 'iml' \
, 'intergraph' \
, 'irlba' \
, 'jsonlite' \
, 'kableExtra' \
, 'lattice' \
, 'latticeExtra' \
, 'leaps' \
, 'lexicon' \
, 'lift' \
, 'lubridate' \
, 'multcomp' \
, 'node2vec' \
, 'plotrix' \
, 'pls' \
, '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