virtualstaticvoid / heroku-buildpack-r

Heroku buildpack for R - Makes deploying R on Heroku easy
MIT License
304 stars 235 forks source link

support for multi-buildpacks on CF #112

Closed ghost closed 4 years ago

ghost commented 6 years ago

I have a python app using R in certain parts and I would like to deploy this on CF using a R buildpack and the python buildpack. However it seems that to support multi-buildpacks the /bin/compile file should be replaced with /bin/finalize and /bin/supply, https://docs.cloudfoundry.org/buildpacks/understand-buildpacks.html:

The bin/supply and bin/finalize scripts replace the deprecated bin/compile script. Older buildpacks may still use bin/compile with the latest version of Cloud Foundry. In this case, applying multiple buildpacks to a single app is not supported.

Hench the error when pushing to CF: **ERROR** Unable to run all buildpacks: Error: one of the buildpacks chosen to supply dependencies does not support multi-buildpack apps Staging failed: Buildpack compilation step failed Error staging application: App staging failed in the buildpack compile phase FAILED

Any possibility to enable the buildpack to support this?

virtualstaticvoid commented 6 years ago

Only cedar-14 works on CF as far as I know.

virtualstaticvoid commented 6 years ago

See also #102