using Maven setting.xml to pass build arguments to fabric8io/docker-maven-plugin -


we using fabric8io/docker-maven-plugin build dockers in our application. because sitting behind corporate firewall need setup proxy our build.

as part of our docker files, defined arg https_proxy.

now build our docker need pass proxy argument using mvn command line as:

mvn clean install -ddocker.buildarg.http_proxy=<proxy>  -ddocker.buildarg.https_proxy=<proxy>  

i looking way set configuration in maven setting xml. make easier.

any suggestions appreciated


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -