You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2022/12/08 08:21:04 UTC

[unomi] branch unomi-1.x updated: UNOMI-720 (#551)

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

shuber pushed a commit to branch unomi-1.x
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/unomi-1.x by this push:
     new ffd3f1c7e UNOMI-720 (#551)
ffd3f1c7e is described below

commit ffd3f1c7e013ca20b67ae4ef0b74ce974c147851
Author: Serge Huber <sh...@jahia.com>
AuthorDate: Wed Dec 7 09:48:57 2022 +0100

    UNOMI-720 (#551)
    
    - Multi-arch support
    - Switch to eclipse-termurin (openjdk image is no longer supported)
    
    (cherry picked from commit 842a42670d280cb30c7f6ec02f406bcf5dad46f1)
---
 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 56dfd365a..aacb51f38 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 76a33a7a8..6734689fc 100644
--- a/docker/src/main/docker/Dockerfile
+++ b/docker/src/main/docker/Dockerfile
@@ -15,7 +15,7 @@
 # limitations under the License.
 ################################################################################
 
-FROM openjdk:8-jre
+FROM library/eclipse-temurin:11
 
 # Unomi environment variables
 ENV UNOMI_HOME /opt/apache-unomi