Merge pull request 'Do not copy the environment.' (#11) from andrea.dellamico/docker-jenkins-integration-test:master into master

Reviewed-on: #11
This commit is contained in:
Andrea Dell'Amico 2022-03-30 13:51:48 +02:00
commit 718645ee46
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ 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 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
@ -72,7 +72,7 @@ ADD 03_setup_root_path.sh /etc/cont-init.d/03_setup_root_path.sh
# By default RStudio does not give access to all enviornment variables defined in the container (e.g. using ShinyProxy).
# Uncomment the next line, to change this behavior.
ADD 04_copy_env.sh /etc/cont-init.d/04_copy_env.sh
#ADD 04_copy_env.sh /etc/cont-init.d/04_copy_env.sh
ADD 05_setup_rsession_parameters.sh /etc/cont-init.d/05_setup_rsession_parameters.sh
EXPOSE 8787