Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix env_file overrides with extends #2450

Merged
merged 1 commit into from
Nov 25, 2015

Conversation

dnephin
Copy link

@dnephin dnephin commented Nov 23, 2015

Based on #2405
Fixes #2446

@aanand
Copy link

aanand commented Nov 25, 2015

Should this be rebased now that #2405 is in?

@dnephin
Copy link
Author

dnephin commented Nov 25, 2015

I can rebase it to update github, but it won't change the actual merge

@dnephin dnephin force-pushed the fix_env_file_ordering branch 2 times, most recently from 25acac4 to 7768945 Compare November 25, 2015 15:53
@dnephin
Copy link
Author

dnephin commented Nov 25, 2015

Ok, rebased

Split env resolving into two phases. The first phase is to expand the paths
of env_files, which is done before merging extends. Once all files are merged
together, the final phase is to read the env_files and use them as the base
for environment variables.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
@dnephin dnephin force-pushed the fix_env_file_ordering branch from 7768945 to e67bc25 Compare November 25, 2015 16:02
@aanand
Copy link

aanand commented Nov 25, 2015

Great. Makes the PR easier to read at least!

LGTM

aanand added a commit that referenced this pull request Nov 25, 2015
Fix env_file overrides with extends
@aanand aanand merged commit 7b89316 into docker:master Nov 25, 2015
@dnephin dnephin deleted the fix_env_file_ordering branch November 25, 2015 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants