FROM rocker/r-base:latest ## install debian packages RUN apt-get update -qq \ && apt-get -y --no-install-recommends install \ libxml2-dev \ libcairo2-dev \ libsqlite3-dev \ libmariadbd-dev \ libpq-dev \ libssh2-1-dev \ unixodbc-dev \ libcurl4-openssl-dev \ libssl-dev ## Kopiramo datoteko z R paketi #COPY packages.R /packages.R ## Poženemo datoteko z R paketi da se naložijo #RUN Rscript /install_packages.R RUN R -e "install.packages('shiny',dependencies=TRUE, repos='http://cran.rstudio.com/')" RUN R -e "install.packages('esquisse',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('Cairo',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('cowplot',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('data.table',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('flextable',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('ggplot2',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('fmsb',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('grid',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('gridExtra',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('Hmisc',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('janitor',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('magrittr',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('matrixStats',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('openxlsx',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('plotrix',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('plyr',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('Rcpp',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('reports',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('reshape',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('scales',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('TeachingDemos',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('tools',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('dplyr',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('car',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('plyr',dependencies=TRUE, repos='http://cran.rstudio.com/')" #RUN R -e "install.packages('ReporteRsjars',dependencies=TRUE, repos='http://cran.rstudio.com/')"