Fix the CRAN source installer.
This commit is contained in:
parent
15f88a66b3
commit
d0cec11a5d
|
@ -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 <https://www.d4science.org>" \
|
||||
org.d4science.image.authors="Andrea Dell'Amico <andrea.dellamico@isti.cnr.it>"
|
||||
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue