-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
90 lines (86 loc) · 1.74 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
FROM rocker/rstudio
LABEL maintainer = 'D. Alex Hughes <[email protected]>'
## Add core computer stuff
RUN apt-get -y update && apt-get -y install \
# core libraries
libcurl4-gnutls-dev \
libcairo2-dev \
libxt-dev \
libssl-dev \
libssh2-1-dev \
# core tools
sudo \
pandoc \
pandoc-citeproc \
# latex stuff
fonts-symbola \
libx11-xcb1 \
libxtst6 \
libxrandr2 \
libasound2 \
libpangocairo-1.0-0 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libgtk-3-0 \
libnss3 \
libxss1 \
nodejs \
npm \
texlive-xetex \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-lang-chinese \
texlive-plain-generic \
tini > /dev/null && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Add libraries for w203 class
# See: https://www.rocker-project.org/use/extending/
RUN install2.r \
# core data manipulation
tidyverse \
data.table \
naniar \
janitor \
reshape2 \
# core stats
sandwich \
lmtest \
lfe \
moments \
# core database backends
dbplyr \
DBI \
dtplyr \
nycflights13 \
Lahman \
RmariaDB \
RPostgres \
RSQLite \
# code linting
styler \
lintr \
# core reporting
markdown \
rmarkdown \
stargazer \
tinytex \
# core plotting
patchwork \
ggthemes \
GGally \
ggthemes \
plotly \
ggplotly \
# dashboard stuff
flexdashboard \
shinydashboard \
# additional data data
wooldridge \
fec16 \
gapminder \
car \
# misc functions
gridExtra \
Hmisc \
PerformanceAnalytics