mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7a4482a144
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>
8 lines
147 B
Bash
8 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
|