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 Cloud Foundry, 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:
- 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.
- Push the application with the binary buildpack with the
$ cf push YOUR-APP --no-start -b binary_buildpackThis command pushes the application but does not start it.
- Upgrade the application to multiple buildpacks, and specify the buildpacks:
$ cf push YOUR-APP -b BUILDPACK-NAME-1 -b BUILDPACK-NAME-2This command changes the buildpack and starts the application. To see a list of available buildpacks, run
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