diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -363,6 +363,20 @@ <profiles> <profile> + <id>docker-proxy</id> + <activation> + <property> + <name>docker.http_proxy</name> + </property> + </activation> + <properties> + <!-- set build args as defined in https://dmp.fabric8.io/#build-buildargs --> + <docker.buildArg.http_proxy>${docker.http_proxy}</docker.buildArg.http_proxy> + <docker.buildArg.https_proxy>${docker.http_proxy}</docker.buildArg.https_proxy> + </properties> + </profile> + + <profile> <id>docker</id> <activation> <property> @@ -439,13 +453,6 @@ </name> <registry>${docker-image.registry}</registry> <build> - <!-- - <args> - <http_proxy>${docker.http_proxy}</http_proxy> - <https_proxy>${docker.http_proxy}</https_proxy> - </args> - --> - <dockerFileDir>${project.basedir}</dockerFileDir> <tags> <tag>${project.version}-${maven.build.timestamp}Z</tag> |