Dist Zip Container
July 9, 2026 · View on GitHub
The Dist Zip Container allows applications packaged in distZip-style to be run.
| Detection Criteria |
|
| Tags | dist-zip |
If the application uses Spring, Spring profiles can be specified by setting the SPRING_PROFILES_ACTIVE environment variable. This is automatically detected and used by Spring. The Java CfEnv framework — the replacement for the deprecated Spring Auto-reconfiguration — activates the cloud profile at runtime; you can also add it explicitly with SPRING_PROFILES_INCLUDE=cloud.
Configuration
For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to Configuration and Extension.
The container can be configured by modifying the config/dist_zip.yml file in the buildpack fork.
| Name | Description |
|---|---|
arguments | Optional command line arguments to be passed to the start script. The arguments are specified as a single YAML scalar in plain style or enclosed in single or double quotes. |