use own binaries to prepare images
This commit is contained in:
parent
df5ab037c6
commit
c6850b4112
1 changed files with 6 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ RUN gdebi -n -qq r-4.4.1_1_arm64.deb && rm r-4.4.1_1_arm64.deb
|
|||
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"); pak::pak()'
|
||||
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/noble/latest", CRAN = "https://cloud.r-project.org")); pak::pak()'
|
||||
RUN rm -rf arm-binaries-r
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Loading…
Reference in a new issue