aboutsummaryrefslogtreecommitdiffstats
path: root/policy-jre/alpine
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2022-09-08 17:32:59 +0100
committerliamfallon <liam.fallon@est.tech>2022-09-08 17:33:03 +0100
commit85c73756d72729c5f4e6131cf7f030bccae3307f (patch)
tree56b9c656cd8086199a3240333e40a6541278667a /policy-jre/alpine
parent841f9712e48828396faff6adcc1b20186e952430 (diff)
Build ONAP base image locally on ARM architecture
This commit forces a build o the ONAP images locally when a build is run on ARM architecture. Issue-ID: POLICY-4287 Change-Id: I47dd5293ef6bf0051ba074eff2a95d6b3266c871 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'policy-jre/alpine')
-rw-r--r--policy-jre/alpine/pom.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/policy-jre/alpine/pom.xml b/policy-jre/alpine/pom.xml
index 197fb19a..fcfdcce2 100644
--- a/policy-jre/alpine/pom.xml
+++ b/policy-jre/alpine/pom.xml
@@ -53,6 +53,40 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <version>1.13.0</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>3.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.scm</groupId>
+ <artifactId>maven-scm-provider-gitexe</artifactId>
+ <version>1.13.0</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <connectionType>connection</connectionType>
+ <checkoutDirectory>src/main/resources/meta</checkoutDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>checkout-onap-python</id>
+ <phase>validate</phase>
+ <configuration>
+ <connectionUrl>scm:git:https://gerrit.onap.org/r/integration/docker/onap-java11</connectionUrl>
+ <checkoutDirectory>${project.build.directory}/onap-java11</checkoutDirectory>
+ </configuration>
+ <goals>
+ <goal>checkout</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
@@ -70,6 +104,7 @@
<name>${integration.java.name}</name>
<build>
<cleanup>try</cleanup>
+ <contextDir>${project.build.directory}/onap-java11</contextDir>
<dockerFile>BareAlpine.Dockerfile</dockerFile>
<tags>
<tag>${integration.java.version}</tag>