Pushing an App with Multiple Buildpacks
Page last updated:
This topic describes how developers can push an app with multiple buildpacks using the Cloud Foundry Command Line Interface (cf CLI).
Note: As an alternative to the cf CLI procedure below, you can specify multiple buildpacks in your app manifest. This is not compatible with deprecated app manifest features. For more information, see Deploying with App Manifests.
For more information about pushing apps, see Pushing an App.
To push an app with multiple buildpacks using the cf CLI:
Note: You must use cf CLI v6.38 or later.
Ensure that you are using the cf CLI v6.38 or later by running:
For 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 BUILDPACK-NAME-3
YOUR-APPis the name of your app.
BUILDPACK-NAME-3are the names of the buildpacks you want to push with your app.
The 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 How Buildpacks Work.
For more information about using the cf CLI, see Using the Cloud Foundry Command Line Interface (cf CLI).Create a pull request or raise an issue on the source for this page in GitHub