From d0cec11a5d7817605f8fba7cc0703eefe8574e17 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 10 Apr 2023 13:51:50 +0200 Subject: [PATCH] Fix the CRAN source installer. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6362fcf..d7091bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM rocker/r-ver:4.2.3 LABEL org.d4science.image.licenses="EUPL-1.2" \ - org.d4science.image.source="https://code-repo.d4science.org/gCubeSystem/r-full-4.2" \ + org.d4science.image.source="https://code-repo.d4science.org/gCubeSystem/r-full" \ org.d4science.image.vendor="D4Science " \ org.d4science.image.authors="Andrea Dell'Amico " @@ -49,8 +49,8 @@ RUN for l in `cat /tmp/r_non_cran_pkgs.txt` ; do \ # Install some CRAN packages from source ADD https://code-repo.d4science.org/gCubeSystem/r-packages-list/raw/branch/master/jupyter-image-r-cran-pkgs.txt /tmp -RUN for cr in `cat /tmp/r_non_cran_pkgs.txt` ; do \ - pkg='$cr' ; \ +RUN for cr in `cat /tmp/jupyter-image-r-cran-pkgs.txt` ; do \ + pkg=`echo $cr` ; \ mirror='https://cloud.r-project.org' ; \ Rscript --slave --no-site-file --no-init-file --no-save --no-restore-history \ -e "install.packages(pkgs='$pkg', repos=c('$mirror/'));" ; done