-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (35 loc) · 1.25 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
FROM rocker/verse:4.1.0
RUN apt-get clean all && \
apt-get -o Acquire::Max-FutureTime=86400 update && \
apt-get upgrade -y && \
apt-get install -y \
libhdf5-dev \
libcurl4-gnutls-dev \
libssl-dev \
libxml2-dev \
libpng-dev \
libxt-dev \
zlib1g-dev \
libbz2-dev \
liblzma-dev \
libglpk40 \
libgit2-28 \
&& apt-get clean all && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD requirements.r .
RUN mkdir -p /R
RUN Rscript requirements.r
RUN tlmgr update --self --all && \
tlmgr install fancyhdr multirow listings fancyvrb \
xcolor amsmath hyperref infwarerr pdftexcmds hycolor gettitlestring \
pdftexcmds uniquecounter fancyvrb stringenc rerunfilecheck \
zapfding refcount pdfescape letltxmacro \
geometry etexcmds bitset bigintcalc auxhook xcolor framed \
etoolbox kvsetkeys ltxcmds ltxcmds iftex latex-amsmath-dev epstopdf-pkg \
eurosym float booktabs multirow tabu enumitem bbm \
threeparttable threeparttablex ulem makecell caption \
fontspec tipa unicode-math xunicode bbm-macros wrapfig \
kvoptions colortbl environ trimspaces mdwtools koma-script newfloat pdflscape
COPY .Rprofile .
#####CMD ["Rscript", "/R/render.R"]