From 43b6c1df0a86357b80df6ad51b3b621edef3f207 Mon Sep 17 00:00:00 2001 From: Dorchies David <david.dorchies@inrae.fr> Date: Wed, 31 Mar 2021 18:48:22 +0200 Subject: [PATCH] fix: partial rebuild docker container Refs in-wop/rvgest#1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 17eb256..79793a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ RUN apt-get update && apt-get install -y git-core libcurl4-openssl-dev libgit2- RUN echo "options(repos = c(CRAN = 'https://cran.rstudio.com/'), download.file.method = 'libcurl')" >> /usr/local/lib/R/etc/Rprofile.site 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"))' +ARG COMMIT_HASH=unknown RUN R -e 'remotes::install_gitlab("in-wop/rvgest@master", host = "gitlab.irstea.fr")' RUN mkdir /build_zone ADD . /build_zone WORKDIR /build_zone -ARG COMMIT_HASH=unknown RUN R -e 'remotes::install_local(upgrade="never")' EXPOSE 80 CMD R -e "options('shiny.port'=80,shiny.host='0.0.0.0');irmara::run_app()" -- GitLab