Allow setting external dockerfile for distribution 37/130637/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Thu, 1 Sep 2022 14:03:20 +0000 (15:03 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 1 Sep 2022 14:03:20 +0000 (15:03 +0100)
commitbd96c8fb2d9160c5166e7d3035436d6d78da9797
treeba27a314f33ce9b3271d348a173742fe96a4b00a
parenta3b05955caa7e6e5eeb487e650662cf774b14440
Allow setting external dockerfile for distribution

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: Ic6851e77e4b5bb8d8dc51bc4824560270806987b
packages/policy-distribution-docker/pom.xml