update dockerfiles

This commit is contained in:
Patrick Schratz 2024-09-02 09:49:05 +02:00
commit affbbeee03
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -20,7 +20,7 @@ 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 . .
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE, PKG_SYSREQS_PLATFORM = "ubuntu"); options(repos = c(devxy = "https://cran.devxy.io/arm64/rhel8/latest", CRAN = "https://cloud.r-project.org")); pak::pak()'
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE, PKG_SYSREQS_PLATFORM = "redhat"); options(repos = c(devxy = "https://cran.devxy.io/arm64/rhel8/latest", CRAN = "https://cloud.r-project.org")); pak::pak()'
RUN rm -rf arm-binaries-r
CMD ["/bin/bash"]