docker_image: allow proxy config (#53905)

* Simplify checks.

* Add use_config_proxy option.

* Add changelog.

* Avoid docker-py crash.
This commit is contained in:
Felix Fontein 2019-03-19 18:58:16 +01:00 committed by ansibot
commit 847a86beef
2 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- "docker_image - add option ``build.use_proxy_config`` to pass proxy config from the docker client configuration to the container while building."