diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-09 07:58:33 +0200 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-09 08:27:32 +0200 |
commit | 501f9f463a4835c4baf625c12127680fa67dc7f3 (patch) | |
tree | c3b9ac5eb0686d2739d36bd526538412d24ced16 | |
parent | d4da64c40ed711a0557d46cbeedd0f9533471119 (diff) |
Add transparent proxy support
Issue-ID: VID-284
Change-Id: I01cbaef07bbb1d8f748e5a2823241602535ca305
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
-rwxr-xr-x | deliveries/pom.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/deliveries/pom.xml b/deliveries/pom.xml index b047e2dee..ef35eeccd 100755 --- a/deliveries/pom.xml +++ b/deliveries/pom.xml @@ -21,6 +21,23 @@ <docker.verbose>true</docker.verbose>
</properties>
+ <profiles>
+
+ <profile>
+ <id>docker-proxy</id>
+ <!-- activate profile if environment variable `http_proxy` is set -->
+ <activation>
+ <property>
+ <name>env.http_proxy</name>
+ </property>
+ </activation>
+ <properties>
+ <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy>
+ </properties>
+ </profile>
+
+ </profiles>
+
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
|