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/