Set GITHUB_PAT

This commit is contained in:
Andrea Dell'Amico 2022-03-30 12:29:51 +02:00
parent 9347a48446
commit 5a7cd43049
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ 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