Download a remote Rprofile.site

This commit is contained in:
Andrea Dell'Amico 2022-05-23 16:44:20 +02:00
parent a2d7857c22
commit 3b0bb2e04f
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 0 deletions

View File

@ -10,5 +10,8 @@ do
[[ ! $exclude_vars =~ $regex ]] && echo "${file##*/}=$(cat $file)" >> ${R_HOME}/etc/Renviron.site || echo "skipping $file"
done
# Download a custom Rprofile.site
wget -q https://code-repo.d4science.org/gCubeSystem/rstudio-rprofile/raw/branch/master/container-Rprofile.site -O ${R_HOME}/etc/Rprofile.site
## only file-owner (root) should read container_environment files:
chmod 600 /var/run/s6/container_environment/*