Merge pull request 'Do not install R packages from github.' (#5) from andrea.dellamico/docker-jenkins-integration-test:master into master
Reviewed-on: #5
This commit is contained in:
commit
1e0311a71c
11
Dockerfile
11
Dockerfile
|
@ -45,14 +45,15 @@ RUN for l in `cat /tmp/r_non_cran_pkgs.txt` ; do \
|
|||
|
||||
# From github
|
||||
ADD https://code-repo.d4science.org/gCubeSystem/r-packages-list/raw/branch/master/r_github_pkgs.txt /tmp
|
||||
RUN mkdir -p /etc/R
|
||||
RUN echo "GITHUB_PAT=$GITHUB_PAT" >> /etc/R/Renviron.site
|
||||
#RUN mkdir -p /etc/R
|
||||
#RUN echo "GITHUB_PAT=$GITHUB_PAT" >> /etc/R/Renviron.site
|
||||
#RUN for g in `cat /tmp/r_github_pkgs.txt` ; do \
|
||||
# Rscript --slave --no-site-file --no-init-file --no-save --no-restore-history \
|
||||
# -e " require(devtools); devtools::install_github('$g')" ; done
|
||||
RUN export GITHUB_PAT ; for g in `cat /tmp/r_github_pkgs.txt` ; do installGithub.r -d TRUE -u FALSE -r https://packagemanager.rstudio.com/all/__linux__/focal/latest $g ; done
|
||||
RUN grep -v "GITHUB_PATH" /etc/R/Renviron.site > /etc/R/Renviron.site.1
|
||||
RUN mv -f /etc/R/Renviron.site.1 /etc/R/Renviron.site
|
||||
#RUN for g in `cat /tmp/r_github_pkgs.txt` ; do installGithub.r -d TRUE -u FALSE -r https://packagemanager.rstudio.com/all/__linux__/focal/latest $g ; done
|
||||
#RUN grep -v "GITHUB_PATH" /etc/R/Renviron.site > /etc/R/Renviron.site.1
|
||||
#RUN mv -f /etc/R/Renviron.site.1 /etc/R/Renviron.site
|
||||
#RUN installGithub.r -d TRUE -u FALSE -r https://packagemanager.rstudio.com/all/__linux__/focal/latest DanOvando/sraplus ; done
|
||||
|
||||
# Ensure that we remove the source packages
|
||||
RUN rm -fr /tmp/downloaded_packages/*
|
||||
|
|
Loading…
Reference in New Issue