Pushing an Application with Multiple Buildpacks
Page last updated:
This topic describes how developers can push an application with multiple buildpacks.
For more information about pushing applications to Pivotal Application Service, see the Deploy an Application topic.
To push an application with multiple buildpacks using the Cloud Foundry Command Line Interface (cf CLI), perform the following procedure:
Note: You must use cf CLI v6.38 or later.
- Run the following command to ensure that you are using the cf CLI v6.38 or later:
$ cf versionFor more information about upgrading the cf CLI, see Installing the cf CLI.
- To push your app with multiple buildpacks, specify each buildpack with a
$ cf push YOUR-APP -b BUILDPACK-NAME-1 -b BUILDPACK-NAME-2 ... -b FINAL-BUILDPACK-NAMEThe last buildpack you specify is the final buildpack, which can modify the launch environment and set the start command.
To see a list of available buildpacks, run
For more information on multi-buildpack order, see the Understanding Buildpacks topic.
For more information about using the cf CLI, see the Cloud Foundry Command Line Interface topic.