Closed natalieparellano closed 11 months ago
@natalieparellano so does that mean if a buildpack modifies an env var, does a subsequent buildpack always get what the user provided?
@hone I went back to the code to confirm my understanding, and it's even more subtle than what I originally wrote. You can see it here: https://github.com/buildpacks/lifecycle/blob/f8b3419877ceab27f46af0621ec6d9d80650df44/env/env.go#L84-L91
As far as I can tell, this is how it has always worked. So we are just updating the language in the spec to reflect what has been happening all along.
Related discussion: https://github.com/buildpacks/spec/issues/330#issuecomment-1634336710