Browse Source

Install pandoc and R 3.4.4 from the CRAN repository for Trusty

master
Andrea Dell'Amico 4 years ago
parent
commit
da816c5e45
  1. 8
      Dockerfile
  2. 1
      cran_rstudio_com_bin_linux_ubuntu.list

8
Dockerfile

@ -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

1
cran_rstudio_com_bin_linux_ubuntu.list

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