From ae5f9b0b1ab5d5ebcbfaa94265a3d58b1d7c8198 Mon Sep 17 00:00:00 2001 From: pat-s Date: Sun, 23 Feb 2025 13:08:42 +0100 Subject: [PATCH] fix: as casing, use pak stable --- docker/Containerfile-ubuntu-2404 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Containerfile-ubuntu-2404 b/docker/Containerfile-ubuntu-2404 index 9a72c69..2fe9648 100644 --- a/docker/Containerfile-ubuntu-2404 +++ b/docker/Containerfile-ubuntu-2404 @@ -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)