summaryrefslogtreecommitdiffstats
path: root/runtime/pom.xml
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-06-01 13:22:29 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-06-01 13:22:29 +0100
commit192f4960e67c09cdcce36e9568070ad707696572 (patch)
tree97be5ed1bb7d2274467f45de7ab6e9de7fba018a /runtime/pom.xml
parentf35587328e1bd99882ed8a4df85d01660d54c007 (diff)
OpenSuse docker file for policy-clamp-backend
Issue-ID: POLICY-4191 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ifba7377f64006c434c635c6439345a1cd4ce0729
Diffstat (limited to 'runtime/pom.xml')
-rw-r--r--runtime/pom.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/runtime/pom.xml b/runtime/pom.xml
index fd097f0ac..98ff42a24 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -141,6 +141,18 @@
<docker.skip.tag>false</docker.skip.tag>
<docker.skip.push>false</docker.skip.push>
<docker.skip>false</docker.skip>
+ <dockerFile>backend/Dockerfile</dockerFile>
+ </properties>
+ </profile>
+ <profile>
+ <id>dockersuse</id>
+ <properties>
+ <skip.staging.artifacts>true</skip.staging.artifacts>
+ <docker.skip.build>false</docker.skip.build>
+ <docker.skip.tag>false</docker.skip.tag>
+ <docker.skip.push>false</docker.skip.push>
+ <docker.skip>false</docker.skip>
+ <dockerFile>backend/suse.Dockerfile</dockerFile>
</properties>
</profile>
</profiles>
@@ -734,7 +746,7 @@
</tags>
<!-- A relative path is looked up in ${project.basedir}/src/main/docker by
default -->
- <dockerFile>backend/Dockerfile</dockerFile>
+ <dockerFile>${dockerFile}</dockerFile>
<assembly>
<descriptor>backend/backend-files.xml</descriptor>
<name>onap-policy-clamp-backend</name>
@@ -899,4 +911,4 @@
</plugin>
</plugins>
</build>
-</project> \ No newline at end of file
+</project>