Skip to content

A Cloud Native Buildpack that embeds environment variables into an image

License

Notifications You must be signed in to change notification settings

initializ/environment-variables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcr.io/paketo-buildpacks/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 Variable Description
$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.

About

A Cloud Native Buildpack that embeds environment variables into an image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 73.5%
  • Shell 26.5%