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
Post a Comment