Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Dist Zip Container

The Dist Zip Container allows applications packaged in distZip-style to be run.

Detection Criteria
  • A start script in the bin/ subdirectory of the application directory or one of its immediate subdirectories (but not in both), and
  • A JAR file in the lib/ subdirectory of the application directory or one of its immediate subdirectories (but not in both)
Tags dist-zip
Tags are printed to standard output by the buildpack detect script

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 Spring Auto-reconfiguration Framework will specify the cloud profile in addition to any others.

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.