mirror of https://github.com/docker/compose.git
build: use correct values for proxy variables (#10908)
clone variable before we capture a pointer Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
150449bbd2
commit
792afb8d13
|
@ -354,6 +354,7 @@ func resolveAndMergeBuildArgs(
|
|||
// so they're handled last
|
||||
for k, v := range storeutil.GetProxyConfig(dockerCli) {
|
||||
if _, ok := result[k]; !ok {
|
||||
v := v
|
||||
result[k] = &v
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue