Pushing an Application with Multiple Buildpacks
This topic describes how developers can push an application with multiple buildpacks.
For more information about pushing applications to Cloud Foundry Application Runtime, see the Pushing an App 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 How Buildpacks Work in Cloud Foundry topic.
For more information about using the cf CLI, see the Cloud Foundry Command Line Interface topic.Create a pull request or raise an issue on the source for this page in GitHub