sw360 / sw360chores

WARNING - Work in Progress - It is not Bug Free! Use with Caution. This repository contains Dockerfiles and accompanying scripts that allow deployment of sw360 via docker
Eclipse Public License 1.0
13 stars 18 forks source link

Improvements of proxy support during Docker image builds #79

Closed oheger-bosch closed 4 years ago

oheger-bosch commented 4 years ago

I am in a corporate network with a quite rigid proxy that requires authentication. Therefore, I use a local proxy like cntlm to have a rather transparent internet connection. In such an environment, the build of the Docker images does not work, even if the proxy settings (pointing to localhost in this case) are specified in the proxy.env configuration file; the containers cannot connect to the proxy.

A solution that worked for me was enabling the network mode 'host' when building images; it would therefore be nice if the main script could support a parameter to enable this mode and pass the corresponding arguments through to the Docker builds.