cool-easter-32542
03/24/2023, 9:37 AMdocker_environments for testing I have some dynamic configuration that needs to be passed into the docker_environment via env vars. Currently that is not possible.
[test]
extra_env_vars = [
"ENV_VAR",
]
The env var ENV_VAR will be read from the docker image and not from my shell.
See the comment here for more details.
Describe the solution you'd like
It should be possible to pass env vars from the user's shell into docker_environments.
This could either be done via a new field on the docker_environment target or by adapting the current fields to do an additional lookup of the env vars in the user's shell.
pantsbuild/pants