generated from gCubeCI/Pipeline-Docker-Template
Download a remote Rprofile.site
This commit is contained in:
parent
a2d7857c22
commit
3b0bb2e04f
|
@ -10,5 +10,8 @@ do
|
||||||
[[ ! $exclude_vars =~ $regex ]] && echo "${file##*/}=$(cat $file)" >> ${R_HOME}/etc/Renviron.site || echo "skipping $file"
|
[[ ! $exclude_vars =~ $regex ]] && echo "${file##*/}=$(cat $file)" >> ${R_HOME}/etc/Renviron.site || echo "skipping $file"
|
||||||
done
|
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:
|
## only file-owner (root) should read container_environment files:
|
||||||
chmod 600 /var/run/s6/container_environment/*
|
chmod 600 /var/run/s6/container_environment/*
|
||||||
|
|
Loading…
Reference in New Issue