This is an automated email from the ASF dual-hosted git repository.

shuber pushed a commit to branch UNOMI-720-from-and-multi-arch
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit cb7b67ae2972cfc47a85728d02cf06d4249295ce
Author: Serge Huber <shu...@jahia.com>
AuthorDate: Mon Dec 5 11:12:42 2022 +0100

    UNOMI-720
    - Multi-arch support
    - Switch to eclipse-termurin (openjdk image is no longer supported)
---
 docker/pom.xml                    | 10 +++++++++-
 docker/src/main/docker/Dockerfile |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/docker/pom.xml b/docker/pom.xml
index beb70805d..b3c4adb34 100644
--- a/docker/pom.xml
+++ b/docker/pom.xml
@@ -105,12 +105,20 @@
             <plugin>
                 <groupId>io.fabric8</groupId>
                 <artifactId>docker-maven-plugin</artifactId>
-                <version>0.33.0</version>
+                <version>0.40.2</version>
                 <configuration>
                     <images>
                         <image>
                             <alias>unomi</alias>
                             <name>apache/unomi:${project.version}</name>
+                            <build>
+                                <buildx>
+                                    <platforms>
+                                        <platform>linux/amd64</platform>
+                                        <platform>linux/arm64</platform>
+                                    </platforms>
+                                </buildx>
+                            </build>
                             <external>
                                 <type>compose</type>
                                 
<basedir>${project.build.directory}/filtered-docker</basedir>
diff --git a/docker/src/main/docker/Dockerfile 
b/docker/src/main/docker/Dockerfile
index 72b6e0ddb..6734689fc 100644
--- a/docker/src/main/docker/Dockerfile
+++ b/docker/src/main/docker/Dockerfile
@@ -15,7 +15,7 @@
 # limitations under the License.
 
################################################################################
 
-FROM openjdk:11-jre
+FROM library/eclipse-temurin:11
 
 # Unomi environment variables
 ENV UNOMI_HOME /opt/apache-unomi

Reply via email to