OpenSuse docker file for policy-models-simulator
Create OpenSuse docker file
Add build profile for OpenSuse docker image
Issue-ID: POLICY-4196
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ida526d2c1ca858e2b3c9791048f2dfc405931ca8
diff --git a/models-sim/packages/pom.xml b/models-sim/packages/pom.xml
index 4bf5cc7..4af8dee 100644
--- a/models-sim/packages/pom.xml
+++ b/models-sim/packages/pom.xml
@@ -1,6 +1,7 @@
<!--
============LICENSE_START=======================================================
Copyright (C) 2020 Bell Canada.
+ Modifications Copyright (C) 2022 Nordix Foundation.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -56,6 +57,18 @@
</modules>
<properties>
<docker.skip.push>false</docker.skip.push>
+ <dockerFile>Dockerfile</dockerFile>
+ </properties>
+ </profile>
+ <profile>
+ <id>dockersuse</id>
+ <modules>
+ <module>models-simulator-tarball</module>
+ <module>models-simulator-docker</module>
+ </modules>
+ <properties>
+ <docker.skip.push>false</docker.skip.push>
+ <dockerFile>suse.Dockerfile</dockerFile>
</properties>
</profile>
</profiles>