Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11426

The apache/sling-cli Docker image cannot be built on M1 processors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Committer CLI 1.0.0
    • Tooling
    • None

    Description

      The apache/sling-cli Docker image cannot be built on M1 processors for several reasons:

      1. the docker-maven-plugin version 37 cannot connect to the Docker unix socket on M1
      2. openjdk-11 tries to use an x86_64 library when jlink is called

      This can be fixed by updating the docker-maven-plugin to the latest release and updating the JDK to 17, which adds full support for M1 processors.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: