diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-09-30 14:31:26 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-09-30 15:56:58 -0700 |
commit | fad55e47307f9d7aeadfd0e11f4374afd7b0e061 (patch) | |
tree | e98e803966976e008a08c89688aa77ec5465ce14 /pkg/api/server/register_images.go | |
parent | 5954d370718f67ebb220f3dbed24a63adf5c3dae (diff) | |
download | podman-fad55e47307f9d7aeadfd0e11f4374afd7b0e061.tar.gz podman-fad55e47307f9d7aeadfd0e11f4374afd7b0e061.tar.bz2 podman-fad55e47307f9d7aeadfd0e11f4374afd7b0e061.zip |
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>
Diffstat (limited to 'pkg/api/server/register_images.go')
-rw-r--r-- | pkg/api/server/register_images.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index 32e401a54..cb0d26d1e 100644 --- a/pkg/api/server/register_images.go +++ b/pkg/api/server/register_images.go @@ -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: |