images
This commit is contained in:
parent
aea5d9597d
commit
f64db635a0
1 changed files with 25 additions and 34 deletions
|
|
@ -25,8 +25,8 @@ RUN dnf install -y -q make lapack-devel git gcc gcc-c++ fontconfig-devel fribidi
|
|||
RUN curl -q -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure --enable-silent-rules && make 2>&1 >/dev/null && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd ..
|
||||
|
||||
### INSTALL R
|
||||
RUN curl -O https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el8/R-${R_VERSION}-1-1.aarch64.rpm
|
||||
RUN dnf install -q -y R-${R_VERSION}-1-1.aarch64.rpm
|
||||
RUN curl -O "https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el8/R-${R_VERSION}-1-1.aarch64.rpm"
|
||||
RUN dnf install -q -y "R-${R_VERSION}-1-1.aarch64.rpm" && rm "R-${R_VERSION}-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))'
|
||||
|
||||
# Makevars
|
||||
|
|
@ -42,7 +42,7 @@ RUN R -q -e 'pak::pak(c("DBI", "R6", "RPostgres", "Rcpp", "askpass", "base64enc"
|
|||
|
||||
COPY . .
|
||||
# remove secrets from COPY
|
||||
RUN rm /.Renviron /.envrc
|
||||
RUN touch /.Renviron /.envrc && rm /.Renviron /.envrc
|
||||
RUN R CMD INSTALL . && rm -rf r-pkg-binaries
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Loading…
Reference in a new issue