From da816c5e45d2b79084ceae825be3a20e0e138967 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 30 Jul 2018 18:52:04 +0200 Subject: [PATCH] Install pandoc and R 3.4.4 from the CRAN repository for Trusty --- Dockerfile | 8 ++++++++ cran_rstudio_com_bin_linux_ubuntu.list | 1 + 2 files changed, 9 insertions(+) create mode 100644 cran_rstudio_com_bin_linux_ubuntu.list diff --git a/Dockerfile b/Dockerfile index f6fa553..351d2f5 100644 --- a/Dockerfile +++ b/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 diff --git a/cran_rstudio_com_bin_linux_ubuntu.list b/cran_rstudio_com_bin_linux_ubuntu.list new file mode 100644 index 0000000..81c84b0 --- /dev/null +++ b/cran_rstudio_com_bin_linux_ubuntu.list @@ -0,0 +1 @@ +deb http://cran.rstudio.com/bin/linux/ubuntu trusty/