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/fproxy/pom.xml | 112 +++++++++++++++++++++++++++++++------------------ 1 file changed, 72 insertions(+), 40 deletions(-) (limited to 'sidecar/fproxy/pom.xml') diff --git a/sidecar/fproxy/pom.xml b/sidecar/fproxy/pom.xml index 8875dd8..a84ee98 100644 --- a/sidecar/fproxy/pom.xml +++ b/sidecar/fproxy/pom.xml @@ -27,6 +27,10 @@ 2.1.14-SNAPSHOT + + ${project.build.directory}/${project.artifactId}-build/ + + fproxy jar @@ -116,50 +120,78 @@ false 1 + -Xmx1024m -XX:MaxPermSize=256m - org.apache.maven.plugins - maven-resources-plugin - 3.0.2 - - - copy-docker-file - package - - copy-resources - - - target - true - - - ${basedir}/src/main/docker - true - - - ${basedir}/src/main/bin/ - true - - - - - - + maven-assembly-plugin + + + src/main/assembly/descriptor.xml + + + + + make-assembly + package + + single + + + + - com.spotify - docker-maven-plugin - 0.4.11 - - true - docker-hub - ${docker.push.registry}/onap/${project.artifactId} - ${docker.location} - - latest - - true - + io.fabric8 + docker-maven-plugin + 0.28.0 + + true + ${docker.apiVersion} + ${docker.pull.registry} + ${docker.push.registry} + docker-hub + ${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