Allow setting external dockerfile for policy-api 17/130517/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Tue, 30 Aug 2022 06:31:13 +0000 (07:31 +0100)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Tue, 30 Aug 2022 15:36:44 +0000 (15:36 +0000)
commit07ba043caa37f61258722e58ffb098470d74b3d6
treee4bcfb18774be36ad19ac297258fca868e233513
parent579204990a84fbd5593b2ce61ad3c2a5560ed894
Allow setting external dockerfile for policy-api

If building with an external dockerfile, e.g. using
 mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile
docker will look for project files in the same directory as the
new dockerfile. A new property is added for setting the context
path, to allow using existing project files in src/main/docker.

Issue-ID: POLICY-4334
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iebfa6f3bcfeccf70675231acd4b6d7f629f56223
packages/policy-api-docker/pom.xml