Skip to content

Commit

Permalink
Merge pull request quay#485 from yebinama/proxy
Browse files Browse the repository at this point in the history
Driver: Add proxy support
  • Loading branch information
jzelinskie authored Nov 7, 2017
2 parents 63ed341 + cad734f commit 7b8de12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/imagefmt/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func Extract(format, path string, headers map[string]string, toExtract []string)
// Send the request and handle the response.
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: insecureTLS},
Proxy: http.ProxyFromEnvironment,
}
client := &http.Client{Transport: tr}
r, err := client.Do(request)
Expand Down

0 comments on commit 7b8de12

Please sign in to comment.