use workaround in docker files for dep install
This commit is contained in:
parent
00a393ad45
commit
f50610c789
1 changed files with 13 additions and 9 deletions
|
|
@ -30,8 +30,8 @@ RUN apk add --allow-untrusted r-4.4.1_1_aarch64.apk && rm r-4.4.1_1_aarch64.apk
|
|||
RUN R -q -e 'install.packages("remotes", repo = "cloud.r-project.org"); remotes::install_github("pat-s/pak@alpine")'
|
||||
|
||||
COPY . .
|
||||
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE, PKG_SYSREQS_PLATFORM = "alpine"); pak::pak()'
|
||||
RUN R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE, PKG_SYSREQS_PLATFORM = "alpine"); pak::pak("devtools")'
|
||||
# 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/alpine320/latest", CRAN = "https://cloud.r-project.org"))); install.packages("remotes"); remotes::install_deps()'
|
||||
RUN rm -rf arm-binaries-r
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Loading…
Reference in a new issue