Regarding attempt to use io.fabric8 docker-maven-plugin to build images behind 
a firewall, I have found that passing the proxy in via buildArgs:

<args>
<http_proxy_arg>${docker.http_proxy}</http_proxy_arg>
<https_proxy_arg>${docker.https_proxy}</https_proxy_arg>
</args>

results in the following when the proxy passed is an empty string (i.e. not 
behind a firewall)

[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.30.0:build 
(generate-images) on project cmso-optimizer: Execution generate-images of goal 
io.fabric8:docker-maven-plugin:0.30.0:build failed: null value in entry: 
http_proxy_arg=null -> [Help 1]

In an attempt to avoid modifying  the pom.xml to add/remove the <args>, I have 
tried numerous hacks to get around this which are pretty ugly.

Has anyone managed to effectively use spotify or io.frabic8 to build behind a 
firewall without modifying the Dockerfile or pom.xml?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18290): https://lists.onap.org/g/onap-discuss/message/18290
Mute This Topic: https://lists.onap.org/mt/22455741/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to