cloudfoundry / java-buildpack

Cloud Foundry buildpack for running Java applications
Apache License 2.0
435 stars 2.58k forks source link

Install bootstrapped ruby into buildpack-specific namespace #1009

Closed robdimsdale closed 1 year ago

robdimsdale commented 1 year ago

This buildpack bootstraps ruby into /tmp/ruby, and there are situations where multiple buildpacks attempt to bootstrap ruby into the same location. This may be causing non-deterministic issues, so to be safe we should bootstrap into /tmp/<buildpack-name>/ruby.

See example of bootstrapping ruby into buildpack-specific namespace: https://github.com/cloudfoundry/php-buildpack/pull/855