The Spring Boot CLI Container runs one or more Groovy (i.e. *.groovy) files using Spring Boot CLI.
| Detection Criteria |
|
| Tags | spring-boot-cli=⟨version⟩ |
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.
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/spring_boot_cli.yml file in the buildpack fork. The container uses the Repository utility support and so it supports the version syntax defined there.
| Name | Description |
|---|---|
repository_root |
The URL of the Spring Boot CLI repository index (details). |
version |
The version of Spring Boot CLI to use. Candidate versions can be found in this listing. |