From be5d36c1f6eb364ff42ca32a61bd79d9ef4d85d5 Mon Sep 17 00:00:00 2001 From: "Brian M. Schilder" <34280215+bschilder@users.noreply.github.com> Date: Fri, 27 Oct 2023 11:23:25 +0100 Subject: [PATCH] Fix Dockerfile --- inst/templates/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/templates/Dockerfile b/inst/templates/Dockerfile index 3425fa36..a6f32abc 100644 --- a/inst/templates/Dockerfile +++ b/inst/templates/Dockerfile @@ -47,7 +47,7 @@ WORKDIR /$PKG #### Install package dependencies #### RUN Rscript -e 'options(download.file.method="libcurl", crayon.enabled=TRUE, timeout=2000); \ if(!require("BiocManager")) install.packages("BiocManager"); \ - if(!require("remotes")) install.packages("remotes"); - repos <- BiocManager::repositories() + if(!require("remotes")) install.packages("remotes"); \ + repos <- BiocManager::repositories() \ remotes::install_local(repos=repos, dependencies=TRUE, build_vignettes=FALSE, upgrade=TRUE, force=TRUE)' RUN rm -rf /$PKG