diff options
Diffstat (limited to 'runtime/pom.xml')
-rw-r--r-- | runtime/pom.xml | 16 |
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> |