cloudfoundry / r-buildpack

Cloud Foundry buildpack for R
Apache License 2.0
9 stars 24 forks source link

Need libv8-dev and/or libnode-dev packages in the r-buildpack #11

Closed bparsons5 closed 4 years ago

bparsons5 commented 4 years ago

Hello, I have an issue where my R shiny app cannot build on CF due to the r-buildpack not having libv8-dev or libnode-dev ubuntu packages. The reason being that the security policy for my company does not allow us to choose other options to get around this. It would be awesome if you all could include these two packages in an updated r-buildpack.

cf-gitbot commented 4 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/169608474

The labels on this github issue will be updated when the story is started.

dfreilich commented 4 years ago

Hey @bparsons5 , thanks for filing this! The `r-buildpack isn't our highest priority, so it may not get looked at right away, but we'll get to it.

bparsons5 commented 4 years ago

Hello @dfreilich , I appreciate the response. Just keep me in the loop so my team and I can stay on top of this. Thank you.

ryanmoran commented 4 years ago

@bparsons5 have you tried using the multi-buildpack support in Cloud Foundry? It might be possible to use the nodejs-buildpack and the r-buildpack together to do this.

inflightfailure commented 4 years ago

@ryanmoran I'm in the same situation as @bparsons5 and I tried multi-buildpack deployments with a variety of buildpack combinations and was unable to resolve the issue. Unfortunately our organizational security posture prevents the use of custom buildpacks, so we can't pursue that option either

ryanmoran commented 4 years ago

@inflightfailure can you use the apt-buildpack?

The main issue is that buildpacks aren't really in the business of adding packages to the OS. We've created the apt-buildpack for these cases, but ideally libraries like libv8 and libnode should be included in the underlying stack root fs.

It's unlikely that we would make an exception to include this package as it impacts all users of the R buildpack and isn't functionality that aligns with the behavior of buildpacks or the specific functionality of supporting an R application.

thitch97 commented 4 years ago

We are going to close this issue out for now. Please feel free to reopen this issue with a response to the above comment.