make alpine dockerfile arch-agnostic
This commit is contained in:
parent
5eced4ed2d
commit
125caa8a3e
1 changed files with 64 additions and 61 deletions
|
|
@ -22,6 +22,6 @@ RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/
|
|||
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/rhel9/latest", CRAN = "https://cloud.r-project.org"))); install.packages("remotes"); remotes::install_deps()'
|
||||
RUN rm -rf arm-binaries-r
|
||||
RUN r-pkg-binaries
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Loading…
Reference in a new issue