OSC / bc_osc_rstudio_server

Batch Connect - OSC RStudio Server
https://osc.github.io/Open-OnDemand/
MIT License
10 stars 18 forks source link

keep TMPDIR variable and location #108

Open johrstrom opened 2 years ago

johrstrom commented 2 years ago

We mount $TMPDIR directly to /tmp. We should likely preserve the environment variable and the location when running in the container. This is because $TMPDIR is a known documented environment variable and location, and if we have these funny mount points users may run into issues because they expect it to be valid when it isn't.

https://github.com/OSC/bc_osc_rstudio_server/blob/af4fd5b9026693e4d12330bfc4dea06c861ad0e1/template/script.sh.erb#L148