diff --git a/Dockerfile b/Dockerfile index df9e7a7..b2c39b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN --mount=type=secret,id=build_github_pat export GITHUB_PAT=$(cat /run/secrets ARG GIT_BRANCH='main' ARG GIT_COMMIT_ID_ABBREV -ARG ARCH='x86_64' +ARG ARCH='amd64' # optimize compilation @@ -31,7 +31,9 @@ RUN R CMD javareconf RUN Rscript -e "install.packages('pak', \ repos = sprintf('https://r-lib.github.io/p/pak/stable/%s/%s/%s', \ - 'source', 'linux-gnu', if (Sys.getenv('ARCH') == 'x86_64') 'amd64' else 'aarch64'))" + 'source', 'linux-gnu', if (Sys.getenv('ARCH') == 'amd64') 'amd64' else 'aarch64'))" + +ENV DEBUGME=pkgdepends RUN Rscript -e "options('repos'=c(RHUB='https://raw.githubusercontent.com/r-hub/repos/main/ubuntu-22.04-aarch64/4.4', \ PPM='https://p3m.dev/cran/__linux__/jammy/latest')); \