Do not copy the environment.

This commit is contained in:
Andrea Dell'Amico 2022-03-30 13:51:15 +02:00
parent 5a7cd43049
commit c892d5ff64
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
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