From 2d57cfe730563d6e665e8c2bc937eb6288c9b63a Mon Sep 17 00:00:00 2001 From: Gibran Hemani Date: Mon, 18 Nov 2024 01:40:36 +0000 Subject: [PATCH] upd --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f7f427d..e4d6a35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,9 @@ RUN apt-get update && \ libxt-dev \ libharfbuzz-dev \ libtiff-dev \ - libzstd-dev + libzstd-dev \ + libgit2-dev \ + libfribidi-dev # Wait until MRCIEU R-Universe has built latest version of the TwoSampleMR binary # Should be 1 hour or maybe overnight @@ -31,8 +33,7 @@ COPY renv/activate.R renv/activate.R COPY renv/settings.json renv/settings.json RUN R -e 'options( \ - repos = c(universe = "https://mrcieu.r-universe.dev/bin/linux/jammy/4.3/", \ - CRAN = "https://packagemanager.posit.co/cran/__linux__/jammy/latest"), \ + repos = c(CRAN = "https://packagemanager.posit.co/cran/__linux__/jammy/latest"), \ HTTPUserAgent = sprintf( \ "R/%s R (%s)", \ getRversion(), \ @@ -40,7 +41,6 @@ RUN R -e 'options( \ R.version["platform"], \ R.version["arch"], \ R.version["os"]))); \ - install.packages("renv", dependencies = TRUE); \ - renv::restore()' + renv::restore(repos = c(CRAN = "https://packagemanager.posit.co/cran/__linux__/jammy/latest"))' COPY . . \ No newline at end of file