From 25c0056a7846168dbc5cc86615039ad8d1e9a35d Mon Sep 17 00:00:00 2001 From: Simon Hrabos Date: Fri, 20 Sep 2019 15:19:24 +0200 Subject: small, multi-platform (amd64, arm64) images Modify fproxy, rproxy and tproxy-config docker container image due to arm64 compatibility Issue-ID: INT-1174 Issue-ID: INT-1175 Issue-ID: INT-1176 Signed-off-by: Simon Hrabos Change-Id: Ibbf9e1d15bea9ebb1b82ff50c8671927c68be2ed --- sidecar/rproxy/pom.xml | 76 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 54 insertions(+), 22 deletions(-) (limited to 'sidecar/rproxy/pom.xml') diff --git a/sidecar/rproxy/pom.xml b/sidecar/rproxy/pom.xml index e789287..8e4ac38 100644 --- a/sidecar/rproxy/pom.xml +++ b/sidecar/rproxy/pom.xml @@ -27,6 +27,10 @@ 2.1.14-SNAPSHOT + + ${project.build.directory}/${project.artifactId}-build/ + + rproxy jar @@ -128,50 +132,78 @@ false 1 + -Xmx1024m -XX:MaxPermSize=256m - org.apache.maven.plugins - maven-resources-plugin - 3.0.2 + maven-assembly-plugin + + + src/main/assembly/descriptor.xml + + - copy-docker-file + make-assembly package - copy-resources + single - - target - true - - - ${basedir}/src/main/docker - true - - - ${basedir}/src/main/bin/ - true - - - - com.spotify + io.fabric8 docker-maven-plugin - 0.4.11 + 0.28.0 true + ${docker.apiVersion} + ${docker.pull.registry} + ${docker.push.registry} docker-hub - ${docker.push.registry}/onap/${project.artifactId} ${docker.location} latest true + + + ${docker.push.registry}/onap/${project.artifactId} + + try + ${project.basedir}/src/main/docker + + latest + + + + + + ${fproxy.build.dir} + /${project.artifactId} + + + + + + + + + + generate-images + install + + + + push-images + deploy + + push + + + org.apache.maven.plugins -- cgit 1.2.3-korg