-
Notifications
You must be signed in to change notification settings - Fork 52
/
Dockerfile
108 lines (101 loc) · 2.12 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
FROM xiangyunhuang/r-devel:latest
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
## install magick
libmagick++-dev \
## install rgeos
libgeos-dev \
## rgl
libglu1-mesa-dev \
libpoppler-cpp-dev \
graphviz \
ggobi \
libgtk2.0-dev
RUN xvfb-run install2.r --error \
animation \
alphahull \
bookdown \
cowplot \
corrplot \
formatR \
GGally \
gWidgetsRGtk2 \
hexbin \
pdftools \
plotrix \
plot3D \
scatterplot3d \
magick \
MSG \
rgeos \
rgl \
RColorBrewer \
showtext \
sna \
sp \
maps \
mapdata \
mapproj \
maptools \
randomForest \
rggobi \
tikzDevice \
vcd \
mvtnorm \
vioplot \
TeachingDemos \
aplpack \
igraph \
fun \
latex2exp \
svglite \
&& installGithub.r \
yihui/fun \
yihui/MSG
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
## install sf
libudunits2-dev \
libproj-dev \
libgdal-dev \
libavfilter-dev \
libfftw3-dev \
cargo
RUN xvfb-run install2.r --error \
av \
gifski \
gganimate \
ggmap \
ggraph \
ggfortify \
ggridges \
leaflet \
plotly \
raster \
rayshader \
RgoogleMaps \
sf \
ggbeeswarm \
ggpointdensity \
heatmaply \
quantreg \
iplots \
tuneR
## Install Adobe fonts
RUN apt-get update \
&& apt-get install -y --no-install-recommends unzip zip curl \
&& curl -fLo Adobe-Fonts.zip https://github.com/XiangyunHuang/fonts/releases/download/v0.1/Adobe-Fonts.zip \
&& mkdir -p ~/.fonts \
&& unzip Adobe-Fonts.zip -d ~/.fonts/adobe \
&& fc-cache -fsv \
&& tlmgr install ctex xecjk courier courier-scaled savesym \
colortbl dvipng dvisvgm environ fancyhdr jknapltx listings \
makecell mathdesign metalogo microtype ms multirow parskip pdfcrop \
pgf placeins preview psnfss realscripts relsize rsfs setspace soul \
standalone subfig symbol tabu tex4ht threeparttable threeparttablex \
titlesec tocbibind tocloft trimspaces ulem varwidth wrapfig xcolor \
xltxtra zhnumber cancel titlepic mdwtools \
&& apt-get clean all \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 8787 8080 8181 8282
WORKDIR /home/docker/workspace