You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2022/06/29 09:40:12 UTC

[sling-org-apache-sling-committer-cli] branch issue/SLING-11426 created (now 296e525)

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

radu pushed a change to branch issue/SLING-11426
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-committer-cli.git


      at 296e525  SLING-11426 - The apache/sling-cli Docker image cannot be built on M1 processors

This branch includes the following new commits:

     new 296e525  SLING-11426 - The apache/sling-cli Docker image cannot be built on M1 processors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-org-apache-sling-committer-cli] 01/01: SLING-11426 - The apache/sling-cli Docker image cannot be built on M1 processors

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

radu pushed a commit to branch issue/SLING-11426
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-committer-cli.git

commit 296e525a192e3161b31ccdbfef01cb4d3fb544c9
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Wed Jun 29 10:54:43 2022 +0200

    SLING-11426 - The apache/sling-cli Docker image cannot be built on M1 processors
    
    * updated the docker-maven-plugin to latest (0.40.1)
    * switched to JDK 17 from Azul, since it offers all architectures we need
---
 Dockerfile | 3 ++-
 pom.xml    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 5e46559..4ec7f39 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,8 @@
 # either express or implied. See the License for the specific language governing permissions
 # and limitations under the License.
 # ----------------------------------------------------------------------------------------
-FROM eclipse-temurin:11-alpine as builder
+FROM azul/zulu-openjdk-alpine:17 as builder
+RUN apk add --no-cache binutils
 RUN $JAVA_HOME/bin/jlink --add-modules java.logging,java.naming,java.xml,java.security.jgss,java.sql,jdk.crypto.ec,java.desktop  --output /opt/jre --strip-debug --compress=2 --no-header-files --no-man-pages
 
 FROM alpine
diff --git a/pom.xml b/pom.xml
index 5efda49..b431733 100644
--- a/pom.xml
+++ b/pom.xml
@@ -143,7 +143,7 @@
             <plugin>
                 <groupId>io.fabric8</groupId>
                 <artifactId>docker-maven-plugin</artifactId>
-                <version>0.37.0</version>
+                <version>0.40.1</version>
                 <executions>
                     <execution>
                         <id>default</id>