I try to configure RStudio server to run inside a docker container. the start and everything works fine, the only problem are the environment variables.
If I run Sys.getenv() with R inside of the docker I get the whole list of OS envs. If I run the same command with the same R binary in rstudio I only get a hand full of rstudio specific envs.
I know I can define single variables via Renviron.site, but that isnt usefull if some variables are defined dynamically at the start of the docker.
so my question is: how can I import/forward all environment variables from the operating system (ubuntu) to rstudio at the start of rstudio?
thank you very much!