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.
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