More languages (custom buildpacks)
Cloud Foundry (the underlying open source project behind cloud.gov) uses buildpacks to allow your applications to be deployed. cloud.gov officially supports a set of buildpacks, and it also allows you to provide your own.
Once you push your code using a custom buildpack, cloud.gov cannot update it for you. You are responsible for keeping it up to date. Please see this description of responsibilities.
Example custom buildpacks
For example, if you want to use this “R” buildpack, you can push your code by typing:
cf push myapp -b http://github.com/virtualstaticvoid/heroku-buildpack-r.git#heroku-16
cloud.gov does not allow the use of
sudo inside of buildpacks. If your app depends on a library that is
apt-get installable, you can use the CF flavor of
apt-buildpack, which is a custom buildpack.
If your application involves multiple languages, and it’s not practical to split it into smaller applications (or the other options under “Multiple languages” here), Cloud Foundry offers support for using multiple buildpacks for an application.