Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
explodecomputer committed Nov 18, 2024
1 parent d94db0e commit 2d57cfe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -31,16 +33,14 @@ 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(), \
paste(getRversion(), \
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 . .

0 comments on commit 2d57cfe

Please sign in to comment.