forked from jingying0827/mhw_dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile_base
13 lines (9 loc) · 926 Bytes
/
Dockerfile_base
1
2
3
4
5
6
7
8
9
10
11
12
FROM rocker/r-ver:4.3.1
# System dependencies
RUN apt-get update && apt-get install -y gdal-bin git-core libcairo2-dev libcurl4-openssl-dev libgdal-dev libgeos-dev libgeos++-dev libgit2-dev libicu-dev libpng-dev libproj-dev libssl-dev libxml2-dev make pandoc pandoc-citeproc zlib1g-dev cmake libharfbuzz-dev libfribidi-dev libudunits2-dev && rm -rf /var/lib/apt/lists/*
#RUN mkdir -p /usr/local/lib/R/etc/ /usr/lib/R/etc/
#RUN echo "options(renv.config.pak.enabled = TRUE, repos = c(CRAN = 'https://cran.rstudio.com/'), download.file.method = 'libcurl', Ncpus = 4)" | tee /usr/local/lib/R/etc/Rprofile.site | tee /usr/lib/R/etc/Rprofile.site
#RUN R -e 'install.packages(c("renv","remotes"))'
#COPY renv.lock renv.lock
#RUN R -e 'renv::restore()'
RUN R -e 'install.packages(c("shiny","shinycssloaders","bslib","bsicons","DT","dplyr","lubridate","ggplot2","ggpattern","plotly","heatwaveR","cicerone","thematic","aws.s3"))'