Commit 3a90954e authored by Dorchies David's avatar Dorchies David
Browse files

fix: partial rebuild docker container

- optimise package dependency installation

Refs rvgest#1
parent 43b6c1df
Pipeline #21916 passed with stage
in 28 minutes and 15 seconds
FROM rocker/r-ver:4.0.3
RUN apt-get update && apt-get install -y git-core libcurl4-openssl-dev libgit2-dev libicu-dev libssl-dev libxml2-dev make pandoc pandoc-citeproc zlib1g-dev && rm -rf /var/lib/apt/lists/*
RUN echo "options(repos = c(CRAN = ''), download.file.method = 'libcurl')" >> /usr/local/lib/R/etc/
RUN R -e 'install.packages(c("config", "golem", "shiny", "processx", "attempt", "DT", "glue", "htmltools", "readr", "TSstudio"))'
RUN R -e 'install.packages(c("knitr", "rmarkdown", "dplyr"))'
RUN R -e 'install.packages(c("config", "golem", "shiny", "processx", "attempt", "DT", "glue", "htmltools"))'
RUN R -e 'install.packages(c("knitr", "rmarkdown"))'
RUN R -e 'install.packages(c("jsonlite", "lubridate", "TSstudio"))'
RUN R -e 'remotes::install_gitlab("in-wop/rvgest@master", host = "")'
RUN mkdir /build_zone
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment