Install some R packages that are required before putting the Rprofile.site in place.

master
Andrea Dell'Amico 6 years ago
parent da816c5e45
commit ddf8ca6c92

@ -57,6 +57,16 @@ RUN apt-get update && apt-get install -y \
r-cran-matrix \
jags
# Install some R packages that are required by the custom Rprofile.site
RUN Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='jsonlite', repos=c('https://cran.mirror.garr.it/mirrors/CRAN/'));"
RUN Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='googleVis', repos=c('https://cran.mirror.garr.it/mirrors/CRAN/'));"
RUN Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='httr', repos=c('https://cran.mirror.garr.it/mirrors/CRAN/'));"
RUN Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='XML', repos=c('https://cran.mirror.garr.it/mirrors/CRAN/'));"
RUN Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='DBI', repos=c('https://cran.mirror.garr.it/mirrors/CRAN/'));"
RUN Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='RPostgreSQL', repos=c('https://cran.mirror.garr.it/mirrors/CRAN/'));"
RUN Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='knitr', repos=c('https://cran.mirror.garr.it/mirrors/CRAN/'));"
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

Loading…
Cancel
Save