Skip to content

Commit

Permalink
separate arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Jul 30, 2024
1 parent 574f940 commit 7e4400c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ RUN apt-get -y update && apt-get install -y \
RUN R CMD javareconf


RUN Rscript -e "print(.Platform$pkgType); \
print(R.Version()$os); \
print(R.Version()$arch); \
RUN Rscript -e "pgkType <- .Platform$pkgType; \
os <- R.Version()$os; \
arch <- R.Version()$arch; \
install.packages('pak', \
repos = sprintf('https://r-lib.github.io/p/pak/stable/%s/%s/%s', \
.Platform$pkgType, R.Version()$os, R.Version()$arch))"
pkgType, os, arch))"

RUN Rscript -e "options('repos'=c(RHUB='https://raw.githubusercontent.com/r-hub/repos/main/ubuntu-22.04-aarch64/4.4', \
PPM='https://p3m.dev/cran/__linux__/jammy/latest')); \
Expand Down

0 comments on commit 7e4400c

Please sign in to comment.