aboutsummaryrefslogtreecommitdiffstats
path: root/deliveries/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'deliveries/pom.xml')
-rwxr-xr-xdeliveries/pom.xml17
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>