paketo-buildpacks/environment-variables

A Cloud Native Buildpack that embeds environment variables into an image

26

stars

401

commits

Go

primary language

Sep 10, 2026

updated

all-applications
cnb
environment-variables
utilities
Browse cluster: Cloud Native Buildpacks & JVM

README

Paketo Buildpack for Environment Variables

Buildpack ID: paketo-buildpacks/environment-variables

Registry URLs: docker.io/paketobuildpacks/environment-variables

The Paketo Buildpack for Environment Variables is a Cloud Native Buildpack that embeds environment variables into an image.

Behavior

This buildpack will participate all the following conditions are met

  • Any environment variable matching $BPE_* is set

The buildpack will do the following:

  • Modify the launch environment using the $BPE_* envrionment variables, as described in the Configuration section below

Configuration

Environment VariableDescription
$BPE_<NAME>set $NAME to value (same as override)
$BPE_APPEND_<NAME>append value to $NAME
$BPE_DEFAULT_<NAME>set default value for $NAME
$BPE_DELIM_<NAME>set delimeter to use when appending or prepending to $NAME
$BPE_OVERRIDE_<NAME>set $NAME to value
$BPE_PREPEND_<NAME>prepend value to $NAME

The default delimiter is an empty string, i.e. there is no default delimiter.

License

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

Contributors

paketo-bot

157 commits

dmikusa

101 commits

dependabot[bot]

64 commits

nebhale

36 commits

paketo-buildpacks/environment-variables

A Cloud Native Buildpack that embeds environment variables into an image

26

stars

401

commits

Go

primary language

Sep 10, 2026

updated

all-applications
cnb
environment-variables
utilities
Browse cluster: Cloud Native Buildpacks & JVM

README

Paketo Buildpack for Environment Variables

Buildpack ID: paketo-buildpacks/environment-variables

Registry URLs: docker.io/paketobuildpacks/environment-variables

The Paketo Buildpack for Environment Variables is a Cloud Native Buildpack that embeds environment variables into an image.

Behavior

This buildpack will participate all the following conditions are met

  • Any environment variable matching $BPE_* is set

The buildpack will do the following:

  • Modify the launch environment using the $BPE_* envrionment variables, as described in the Configuration section below

Configuration

Environment VariableDescription
$BPE_<NAME>set $NAME to value (same as override)
$BPE_APPEND_<NAME>append value to $NAME
$BPE_DEFAULT_<NAME>set default value for $NAME
$BPE_DELIM_<NAME>set delimeter to use when appending or prepending to $NAME
$BPE_OVERRIDE_<NAME>set $NAME to value
$BPE_PREPEND_<NAME>prepend value to $NAME

The default delimiter is an empty string, i.e. there is no default delimiter.

License

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

Contributors

paketo-bot

157 commits

dmikusa

101 commits

dependabot[bot]

64 commits

nebhale

36 commits

Languages

Go

59.6%

Shell

40.4%