Install pandoc and R 3.4.4 from the CRAN repository for Trusty

This commit is contained in:
Andrea Dell'Amico 2018-07-30 18:52:04 +02:00
parent 183618937f
commit da816c5e45
2 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,10 @@ RUN apt-get update && apt-get install -y \
postgis \
postgresql-client
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
COPY cran_rstudio_com_bin_linux_ubuntu.list /etc/apt/sources.list.d/cran_rstudio_com_bin_linux_ubuntu.list
RUN apt-get update && apt-get install -y \
r-recommended \
r-base \
@ -53,6 +57,10 @@ RUN apt-get update && apt-get install -y \
r-cran-matrix \
jags
RUN cd srv ; wget https://github.com/jgm/pandoc/releases/download/2.2.2.1/pandoc-2.2.2.1-1-amd64.deb
RUN dpkg -i /srv/pandoc-2.2.2.1-1-amd64.deb
RUN apt-get update && apt-get install -y cron
# copy the LatexMk file needed by knitr

View File

@ -0,0 +1 @@
deb http://cran.rstudio.com/bin/linux/ubuntu trusty/