gcr.io/paketo-buildpacks/health-checker
The Paketo Buildpack for Health Checker is a Cloud Native Buildpack that provides a health checker tool that can be used to validate application health.
This buildpack will participate either of the following conditions are met
$BP_HEALTH_CHECKER_ENABLED
is set.hc
in the build plan.The buildpack will do the following:
$BP_HEALTH_CHECKER_ENABLED
is set to true
, requests that a health checker be installed by requiring hc
in the buildplan.$BP_HEALTH_CHECKER_DEPENDENCY
to a layer marked launch
with command on $PATH
./workspace/health-check
.Environment Variable | Description |
---|---|
$BP_HEALTH_CHECKER_ENABLED |
If set to true the buildpack will contribute a health checker binary. Defaults to false , so no health checker is contributed. |
$BP_HEALTH_CHECKER_DEPENDENCY |
The dependency id, see buildpack.toml , of the health checker to install. Defaults to thc . |
The buildpack optionally accepts the following bindings:
dependency-mapping
Key | Value | Description |
---|---|---|
<dependency-digest> |
<uri> |
If needed, the buildpack will fetch the dependency with digest <dependency-digest> from <uri> |
This buildpack is released under version 2.0 of the Apache License.