rocker-org / rocker-versioned

Run current & prior versions of R using docker
https://hub.docker.com/r/rocker/r-ver
GNU General Public License v2.0
297 stars 169 forks source link

the PATH should be protected #40

Closed shrektan closed 7 years ago

shrektan commented 7 years ago

&& echo "PATH=\"${PATH}\"" >> /usr/local/lib/R/etc/Renviron results in a fixed environment variable :

PATH="/usr/lib/rstudio-server/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

I guess it's the same issue as https://github.com/rocker-org/rocker/issues/198 . The ${PATH} should be protected by adding a \.

cboettig commented 7 years ago

Nice, thanks! Want to patch this in the versioned Dockerfiles too (in the subdirs of rstudio/)?

Cheers,

shrektan commented 7 years ago

You're welcome :beers: