diff options
Diffstat (limited to 'runtime/pom.xml')
-rw-r--r-- | runtime/pom.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/pom.xml b/runtime/pom.xml index 0487148f3..0d8afb135 100644 --- a/runtime/pom.xml +++ b/runtime/pom.xml @@ -84,6 +84,8 @@ <docker.skip.build>true</docker.skip.build> <docker.skip.push>true</docker.skip.push> <docker.skip.tag>true</docker.skip.tag> + <docker.clamp-runtime.dockerFile>backend/Dockerfile</docker.clamp-runtime.dockerFile> + <docker.clamp-runtime.contextDir>${project.basedir}/src/main/docker</docker.clamp-runtime.contextDir> <skip.staging.artifacts>false</skip.staging.artifacts> <python.http.proxy.param /> @@ -141,7 +143,6 @@ <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> @@ -152,7 +153,7 @@ <docker.skip.tag>false</docker.skip.tag> <docker.skip.push>false</docker.skip.push> <docker.skip>false</docker.skip> - <dockerFile>backend/suse.Dockerfile</dockerFile> + <docker.clamp-runtime.dockerFile>backend/suse.Dockerfile</docker.clamp-runtime.dockerFile> </properties> </profile> </profiles> @@ -769,9 +770,8 @@ <tag>${project.docker.latesttagtimestamp.version}</tag> <tag>${project.docker.latesttag.version}</tag> </tags> - <!-- A relative path is looked up in ${project.basedir}/src/main/docker by - default --> - <dockerFile>${dockerFile}</dockerFile> + <dockerFile>${docker.clamp-runtime.dockerFile}</dockerFile> + <contextDir>${docker.clamp-runtime.contextDir}</contextDir> <assembly> <descriptor>backend/backend-files.xml</descriptor> <name>onap-policy-clamp-backend</name> |