Merge pull request #116 from tonistiigi/build-arg-default

build: load default build args from env
This commit is contained in:
Tibor Vass
2019-07-30 19:20:09 -07:00
committed by GitHub
2 changed files with 10 additions and 4 deletions

View File

@ -101,6 +101,8 @@ func toMap(in composetypes.MappingWithEquals) map[string]string {
for k, v := range in {
if v != nil {
m[k] = *v
} else {
m[k] = os.Getenv(k)
}
}
return m