Skip to content

Commit 52a4c8f

Browse files
authored
Merge branch 'main' into copilot/fix-5b111c9e-e1c3-498a-9786-bfe6dbc98fa4
2 parents 8846d57 + 9b0de62 commit 52a4c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildpack.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,9 +792,9 @@ The following additional environment variables MUST NOT be overridden by the lif
792792
| `HOME` | Current user's home directory | [x] | [x] | [x] |
793793

794794
During the detection and build phases, the lifecycle MUST provide as environment variables any user-provided files in `<platform>/env/` with environment variable names and contents matching the file names and contents.
795-
During the detection and build phases, the lifecycle MUST provide as environment variables any operator-provided files in `<build-config>/env` with environment variable names and contents matching the file names and contents. This applies for all values of `clear-env` or if `clear-env` is undefined in `buildpack.toml`.
795+
During the detection and build phases, the lifecycle MUST provide as environment variables any operator-provided files in `<platform>/env` with environment variable names and contents matching the file names and contents. This applies for all values of `clear-env` or if `clear-env` is undefined in `buildpack.toml`.
796796

797-
When `clear-env` in `buildpack.toml` is set to `true` for a given buildpack, the lifecycle MUST NOT set user-provided environment variables in the environment of `/bin/detect` or `/bin/build`.
797+
When `clear-env` in `buildpack.toml` is set to `true` for a given buildpack, the lifecycle MUST NOT set user-provided environment variables in the environment of `/bin/detect` or `/bin/build`. The user-provided files in `<platform>/env/` contents will still be available.
798798

799799
When `clear-env` in `buildpack.toml` is not set to `true` for a given buildpack, the lifecycle MUST set user-provided environment variables in the environment of `/bin/detect` or `/bin/build` such that:
800800
1. For layer path environment variables, user-provided values are prepended before any existing values and are delimited by the OS path list separator.

0 commit comments

Comments
 (0)