-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
41 lines (39 loc) · 1.29 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
FROM rocker/geospatial:latest
MAINTAINER "Nick Forrester" [email protected]
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ghostscript \
imagemagick \
## system dependency of hadley/pkgdown
libmagick++-dev \
## system dependency of hunspell (devtools)
libhunspell-dev \
## R CMD Check wants qpdf to check pdf sizes, or iy throws a Warning
qpdf \
## for git via ssh key
ssh \
## for building pdfs via pandoc/LaTeX
lmodern \
texlive-fonts-recommended \
texlive-humanities \
texlive-latex-extra \
texinfo \
## just because
less \
vim \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
## R manuals use inconsolata font, but texlive-fonts-extra is huge, so:
&& cd /usr/share/texlive/texmf-dist \
&& wget http://mirrors.ctan.org/install/fonts/inconsolata.tds.zip \
&& unzip inconsolata.tds.zip \
&& rm inconsolata.tds.zip \
&& echo "Map zi4.map" >> /usr/share/texlive/texmf-dist/web2c/updmap.cfg \
&& mktexlsr \
&& updmap-sys \
## And some nice R packages for publishing-related stuff
&& . /etc/environment \
&& install2.r --error --repos $MRAN --deps TRUE \
bookdown rticles rmdshower shiny shinydashboard \
flexdashboard htmlTable collapsibleTree optimx \
microbenchmark leaflet