rocker-org / ml

experimental machine learning container
GNU General Public License v2.0
50 stars 13 forks source link

rsession-ld-library-path #16

Open noamross opened 5 years ago

noamross commented 5 years ago

I find I need to write to the rsession-ld-library-path parameter in rserver.conf for a couple of packages, and I can see if you do that installing more stuff on top of Rocker images you could overwrite it. Do you think the rstudio image/script could include some run-time command to write LIBRARY_LD_PATH to this in a way that's careful, so that one doesn't have to worry about this at all?

cboettig commented 5 years ago

you can drop things like that in a bash script in /etc/cont-init.d, all those scripts are run by S6 on startup. but if someone runs the image in cli mode obviously it wouldn't work...