diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2022-09-02 13:07:33 +0100 |
---|---|---|
committer | Daniel Hanrahan <daniel.hanrahan@est.tech> | 2022-09-02 12:43:09 +0000 |
commit | 36af1675013b538d43ec5e9bbf6caa24a1a70eec (patch) | |
tree | ad025dbd7a33fdc9732dd8f4a669033f461d0f3c /packages/pom.xml | |
parent | a6896ee8eaa79588ac45638ed236ba4d37ec1c42 (diff) |
Allow setting external dockerfiles for clamp
Added maven properties to allow overriding each dockerfile during build,
for example:
mvn clean install -Pdocker \
-Ddocker.clamp-runtime.dockerFile=/path/to/Dockerfile
Issue-ID: POLICY-4334
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I648b83b53cb65a9b6fc762af715ec1b959792992
Diffstat (limited to 'packages/pom.xml')
-rw-r--r-- | packages/pom.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/pom.xml b/packages/pom.xml index edac17e4d..f96c5319d 100644 --- a/packages/pom.xml +++ b/packages/pom.xml @@ -54,7 +54,6 @@ </modules> <properties> <docker.skip.push>false</docker.skip.push> - <dockerFileFlavor/> </properties> </profile> <profile> @@ -65,7 +64,11 @@ </modules> <properties> <docker.skip.push>false</docker.skip.push> - <dockerFileFlavor>-Suse</dockerFileFlavor> + <docker.clamp-runtime-acm.dockerFile>AcmRuntime-Suse.Dockerfile</docker.clamp-runtime-acm.dockerFile> + <docker.clamp-ac-pf-ppnt.dockerFile>PolicyParticipant-Suse.Dockerfile</docker.clamp-ac-pf-ppnt.dockerFile> + <docker.clamp-ac-k8s-ppnt.dockerFile>KubernetesParticipant-Suse.Dockerfile</docker.clamp-ac-k8s-ppnt.dockerFile> + <docker.clamp-ac-http-ppnt.dockerFile>HttpParticipant-Suse.Dockerfile</docker.clamp-ac-http-ppnt.dockerFile> + <docker.clamp-acm-element-impl.dockerFile>ElementParticipant-Suse.Dockerfile</docker.clamp-acm-element-impl.dockerFile> </properties> </profile> </profiles> |