Support --http-proxy for remote builds

* Fix misspelled parameter
 * add http-proxy support for builds

http_proxy must be set in the podman.service unit file, for example
Environment=http_proxy=<value>

Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
Jhon Honce
2020-09-30 14:31:26 -07:00
parent 5954d37071
commit fad55e4730
3 changed files with 34 additions and 22 deletions

View File

@ -1423,6 +1423,13 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// description: |
// output configuration TBD
// (As of version 1.xx)
// - in: query
// name: httpproxy
// type: boolean
// default:
// description: |
// Inject http proxy environment variables into container
// (As of version 2.0.0)
// produces:
// - application/json
// responses: