mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
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…
x
Reference in New Issue
Block a user