Load from env should only happen if the value is unset. Extract a buildEnvironment function and revert some changes to tests. Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: a9c86b63c03fc3557748d7792c11041387cb93d9 Component: engine
9 lines
147 B
Bash
9 lines
147 B
Bash
# passed through
|
|
FOO=foo_from_env_file
|
|
|
|
# overridden in example2.env
|
|
BAR=bar_from_env_file
|
|
|
|
# overridden in full-example.yml
|
|
BAZ=baz_from_env_file
|