Monday, 13 March 2017

Cloudfoundry : How to combine two runtimes

Is there a way in cloundfoundry to combine two runtime environments? I am deploying a NodeJS app to IBM Bluemix. Now, i also want to be able to execute a standalone jar file but the app fails

APP/0/bin/sh: 1: java: not found

which i guess makes sense as the app was deployed with a Nodejs SDK runtime. I tried to look at some resources

https://docs.cloudfoundry.org/adminguide/buildpacks.html

and

https://developer.ibm.com/answers/questions/16115/use-multiple-buildpacks-on-your-app.html

but I could not understand much yet. Is there a straightforward way to have both the NodeJS and Java runtime in a Bluemix app?



via AbtPst

No comments:

Post a Comment