download r-builds from aws s3
This commit is contained in:
parent
125caa8a3e
commit
344e5d860a
1 changed files with 10 additions and 10 deletions
|
|
@ -15,13 +15,13 @@ RUN dnf install -y -q https://dl.fedoraproject.org/pub/epel/8/Everything/aarch64
|
|||
RUN curl -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure && make && make install && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd ..
|
||||
|
||||
### INSTALL R
|
||||
RUN curl -O https://devxy-r-builds.s3.eu-central-003.backblazeb2.com/el8/R-4.4.1-1-1.aarch64.rpm
|
||||
RUN curl -O https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el8/R-4.4.1-1-1.aarch64.rpm
|
||||
RUN dnf install -q -y R-4.4.1-1-1.aarch64.rpm
|
||||
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
|
||||
|
||||
COPY . .
|
||||
# FIXME: switch to pak after https://github.com/r-lib/pak/issues/628
|
||||
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE); options(Ncpus = 4, repos = structure(c(devxy = "https://cran.devxy.io/arm64/rhel8/latest", CRAN = "https://cloud.r-project.org"))); install.packages("remotes"); remotes::install_deps()'
|
||||
RUN r-pkg-binaries
|
||||
RUN rm -rf r-pkg-binaries
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Loading…
Reference in a new issue