You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by mm...@apache.org on 2022/09/02 10:50:55 UTC

[syncope] branch master updated: Support multi-arch docker builds (#373)

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

mmoayyed pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new 1820311eb6 Support multi-arch docker builds (#373)
1820311eb6 is described below

commit 1820311eb6114e6479d114457ae8666004920a9c
Author: Misagh Moayyed <mm...@gmail.com>
AuthorDate: Fri Sep 2 14:50:51 2022 +0400

    Support multi-arch docker builds (#373)
---
 docker/console/pom.xml                       | 6 ++++++
 docker/console/src/main/resources/Dockerfile | 2 +-
 docker/core/pom.xml                          | 6 ++++++
 docker/core/src/main/resources/Dockerfile    | 2 +-
 docker/enduser/pom.xml                       | 6 ++++++
 docker/enduser/src/main/resources/Dockerfile | 2 +-
 docker/sra/pom.xml                           | 6 ++++++
 docker/sra/src/main/resources/Dockerfile     | 2 +-
 docker/wa/pom.xml                            | 6 ++++++
 docker/wa/src/main/resources/Dockerfile      | 2 +-
 10 files changed, 35 insertions(+), 5 deletions(-)

diff --git a/docker/console/pom.xml b/docker/console/pom.xml
index dc374ee35e..11a896ba77 100644
--- a/docker/console/pom.xml
+++ b/docker/console/pom.xml
@@ -141,6 +141,12 @@ under the License.
               <name>apache/syncope-console:%v</name>
               <build>
                 <dockerFileDir>${project.build.outputDirectory}</dockerFileDir>
+                <buildx>
+                  <platforms>
+                    <platform>linux/amd64</platform>
+                    <platform>linux/arm64</platform>
+                  </platforms>
+                </buildx>
               </build>
             </image>
           </images>
diff --git a/docker/console/src/main/resources/Dockerfile b/docker/console/src/main/resources/Dockerfile
index 28efae5dec..7ab8f907f3 100644
--- a/docker/console/src/main/resources/Dockerfile
+++ b/docker/console/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:11-focal
+FROM eclipse-temurin:17-focal
 MAINTAINER dev@syncope.apache.org
 
 RUN set -x
diff --git a/docker/core/pom.xml b/docker/core/pom.xml
index de821b5199..3801c7418f 100644
--- a/docker/core/pom.xml
+++ b/docker/core/pom.xml
@@ -244,6 +244,12 @@ under the License.
               <name>apache/syncope:%v</name>
               <build>
                 <dockerFileDir>${project.build.outputDirectory}</dockerFileDir>
+                <buildx>
+                   <platforms>
+                     <platform>linux/amd64</platform>
+                     <platform>linux/arm64</platform>
+                   </platforms>
+                </buildx>
               </build>
             </image>
           </images>
diff --git a/docker/core/src/main/resources/Dockerfile b/docker/core/src/main/resources/Dockerfile
index 81d885ac49..f6227c2734 100644
--- a/docker/core/src/main/resources/Dockerfile
+++ b/docker/core/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:11-focal
+FROM eclipse-temurin:17-focal
 MAINTAINER dev@syncope.apache.org
 
 RUN set -x
diff --git a/docker/enduser/pom.xml b/docker/enduser/pom.xml
index d94a702e9e..f73f86fa04 100644
--- a/docker/enduser/pom.xml
+++ b/docker/enduser/pom.xml
@@ -130,6 +130,12 @@ under the License.
               <name>apache/syncope-enduser:%v</name>
               <build>
                 <dockerFileDir>${project.build.outputDirectory}</dockerFileDir>
+                <buildx>
+                  <platforms>
+                    <platform>linux/amd64</platform>
+                    <platform>linux/arm64</platform>
+                  </platforms>
+                </buildx>
               </build>
             </image>
           </images>
diff --git a/docker/enduser/src/main/resources/Dockerfile b/docker/enduser/src/main/resources/Dockerfile
index 0f9b1ab35b..9f6d4f389b 100644
--- a/docker/enduser/src/main/resources/Dockerfile
+++ b/docker/enduser/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:11-focal
+FROM eclipse-temurin:17-focal
 MAINTAINER dev@syncope.apache.org
 
 RUN set -x
diff --git a/docker/sra/pom.xml b/docker/sra/pom.xml
index 3876a4b495..68d28f4446 100644
--- a/docker/sra/pom.xml
+++ b/docker/sra/pom.xml
@@ -87,6 +87,12 @@ under the License.
               <name>apache/syncope-sra:%v</name>
               <build>
                 <dockerFileDir>${project.build.outputDirectory}</dockerFileDir>
+                <buildx>
+                  <platforms>
+                    <platform>linux/amd64</platform>
+                    <platform>linux/arm64</platform>
+                  </platforms>
+                </buildx>
               </build>
             </image>
           </images>
diff --git a/docker/sra/src/main/resources/Dockerfile b/docker/sra/src/main/resources/Dockerfile
index dbbcbe61f3..50951e793a 100644
--- a/docker/sra/src/main/resources/Dockerfile
+++ b/docker/sra/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:11-focal
+FROM eclipse-temurin:17-focal
 MAINTAINER dev@syncope.apache.org
 
 RUN set -x
diff --git a/docker/wa/pom.xml b/docker/wa/pom.xml
index f2acf94391..2a01b54140 100644
--- a/docker/wa/pom.xml
+++ b/docker/wa/pom.xml
@@ -112,6 +112,12 @@ under the License.
               <name>apache/syncope-wa:%v</name>
               <build>
                 <dockerFileDir>${project.build.outputDirectory}</dockerFileDir>
+                <buildx>
+                  <platforms>
+                    <platform>linux/amd64</platform>
+                    <platform>linux/arm64</platform>
+                  </platforms>
+                </buildx>
               </build>
             </image>
           </images>
diff --git a/docker/wa/src/main/resources/Dockerfile b/docker/wa/src/main/resources/Dockerfile
index 07444afc4c..5a811fccaf 100644
--- a/docker/wa/src/main/resources/Dockerfile
+++ b/docker/wa/src/main/resources/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM eclipse-temurin:11-focal
+FROM eclipse-temurin:17-focal
 MAINTAINER dev@syncope.apache.org
 
 RUN set -x