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:
- Ensure you are using the cf CLI v6.30.0+:
$ cf version cf version 6.30.0+decf883fc.2017-09-01For more information about upgrading the cf CLI, see the Installing the cf CLI
Push the application with the binary buildpack with the
$ cf push YOUR-APP --no-start -b binary_buildpack
Upgrade the application to multiple buildpacks, and specify the buildpacks:
$ cf v3-push YOUR-APP -b BUILDPACK-NAME-1 -b BUILDPACK-NAME-2
Note: As of cf CLI release v6.30.0, theTo see a list of available buildpacks, run
cf v3-pushcommand is experimental and undocumented. We only recommend using this command for this single use case. It will be fully supported and documented in the near future.
If you are using an application manifest, you cannot include the
buildpack key or future pushes will not function properly.
For more information about using the cf CLI, see the Cloud Foundry Command Line Interface topic.