Categorygithub.com/cloudfoundry/tomcat-cnb
module
1.3.18
Repository: https://github.com/cloudfoundry/tomcat-cnb.git
Documentation: pkg.go.dev

# README

tomcat-cnb

The Cloud Foundry Tomcat Buildpack is a Cloud Native Buildpack V3 that provides Apache Tomcat to applications that are WAR files.

This buildpack is designed to work in collaboration with other buildpacks.

Behavior

The buildpack will participate if all of the following conditions are met

  • The application is a Java application
  • The application has a WEB-INF/ directory

The buildpack will do the following:

Configuration

Environment VariableDescription
$BP_TOMCAT_CONTEXT_PATHThe context path to mount the application at. Defaults to empty (ROOT).
$BP_TOMCAT_EXT_CONF_SHA256The SHA256 hash of the external configuration package
$BP_TOMCAT_EXT_CONF_STRIPThe number of directory levels to strip from the external configuration package. Defaults to 0.
$BP_TOMCAT_EXT_CONF_URIThe download URI of the external configuration package
$BP_TOMCAT_EXT_CONF_VERSIONThe version of the external configuration package
$BP_TOMCAT_VERSIONSemver value of the version of Tomcat to use. Defaults to 9.*.
BPL_TOMCAT_ACCESS_LOGGINGWhether access logging should be activated. Defaults to inactive.

External Configuration Package

The artifacts that the repository provides must be in TAR format and must follow the Tomcat archive structure:

tomcat
└── conf
    ├── context.xml
    ├── server.xml
    ├── web.xml
    ├── ...

Detail

  • Requires
    • jvm-application

License

This buildpack is released under version 2.0 of the Apache License.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author