-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
62 lines (56 loc) · 1.1 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
FROM saagie/shiny4saagie
MAINTAINER Saagie
RUN apt-get update
RUN apt-get install -y --no-install-recommends -t unstable \
bwidget \
ca-certificates \
curl \
gdal-bin \
git \
gsl-bin \
libcurl4-openssl-dev \
libgdal-dev \
libgeos-dev \
libgeos++-dev \
libproj-dev \
libspatialite-dev \
libv8-dev \
libxml2-dev \
netcdf-bin \
pandoc pandoc-citeproc \
qpdf \
r-cran-rgl \
r-cran-tkrplot \
xauth \
xfonts-base \
xvfb \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/lib/apt/lists
RUN install2.r devtools
## Install R spatial packages & cleanup
RUN xvfb-run -a install.r \
geoR \
ggmap \
ggvis \
gstat \
mapdata \
maps \
maptools \
plotKML \
RandomFields \
rgdal \
rgeos \
shapefiles \
sp \
spatstat \
raster \
rasterVis \
rts \
&& installGithub.r s-u/fastshp \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
RUN echo 'install.packages(c("shinydashboard", "rgdal", \
"Cairo", "lubridate", "dplyr", "tidyr", \
"leaflet", "DT", "ggmap"), \
repos="https://https://cloud.r-project.org")' > /tmp/packages.R \
&& Rscript /tmp/packages.R