fix: as casing, use pak stable
This commit is contained in:
parent
9145628141
commit
ae5f9b0b1a
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ RUN apt update && apt install -y --no-install-recommends curl make ca-certificat
|
|||
# - JAGS (needed for runjags which itself is again a dependency of many packages)
|
||||
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
|
||||
|
||||
FROM ubuntu:noble as final
|
||||
FROM ubuntu:noble AS final
|
||||
|
||||
ARG R_VERSION=4.4.2
|
||||
ENV PATH=/opt/R/${R_VERSION}/bin:$PATH
|
||||
|
|
@ -39,7 +39,7 @@ RUN apt-get install -y software-properties-common && \
|
|||
### INSTALL R
|
||||
RUN curl -O "https://devxy-r-builds.fsn1.your-objectstorage.com/2404/r-${R_VERSION}_1_$(dpkg --print-architecture).deb"
|
||||
RUN gdebi -n -qq "r-${R_VERSION}_1_$(dpkg --print-architecture).deb" && rm "r-${R_VERSION}_1_$(dpkg --print-architecture).deb"
|
||||
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/devel/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
|
||||
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
|
||||
# dbarts: CFLAGS += -flax-vector-conversions (https://github.com/vdorie/dbarts/issues/66)
|
||||
|
|
|
|||
Loading…
Reference in a new issue