Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52090

Support arm64 architecture build of docker image

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: docker
    • Labels:
      None
    • Environment:
      jenkins/jenkins:latest image on Docker Hub
    • Similar Issues:
    • Released As:
      2.307 and 2.303.1

      Description

      The docker pull works on arm64 platform, but the image fails to run as below.

      $ uname -m
      aarch64
      $ docker pull jenkins/jenkins
      Using default tag: latest
      latest: Pulling from jenkins/jenkins
      Digest: sha256:83d149bc799c1d50d146aecc75c558754594d3a2b69d0a81c4eb897ae27a58d0
      Status: Image is up to date for jenkins/jenkins:latest
      $ docker run --rm -p 8080:8080 -p 50000:50000 jenkins/jenkins
      standard_init_linux.go:190: exec user process caused "exec format error"
      $

      Since I can build the jenkins docker image on arm64 platform from https://github.com/jenkinsci/docker, and the image works well, can we improve the docker image support include arm64 support?

      See https://github.com/jenkinsci/docker/issues/686 for the request on github.

        Attachments

          Activity

          Hide
          ljkenny Lee Jones added a comment - - edited

          Good afternoon folks,

          It's been a couple of months since we last spoke.  Has there been any progress at all?

          I have taken the liberty to setup a CI job on CodeFresh which pushes the resultant image to Docker Hub.

          You can pull it for testing on any AArch64 based platform using:

          docker pull laglinaro/jenkinsdocker:master
          

           

          Show
          ljkenny Lee Jones added a comment - - edited Good afternoon folks, It's been a couple of months since we last spoke.  Has there been any progress at all? I have taken the liberty to setup a CI job on CodeFresh which pushes the resultant image to Docker Hub. You can pull it for testing on any AArch64 based platform using: docker pull laglinaro/jenkinsdocker:master  
          Hide
          ljkenny Lee Jones added a comment -

          Are there any updates on this please?

          Show
          ljkenny Lee Jones added a comment - Are there any updates on this please?
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          It is in progress AFAICT. I have not been really looking at these stories over last month (https://groups.google.com/d/msg/jenkinsci-dev/uc6NsMoCFQI/AIO4WG1UCwAJ), so I am not sure what is the exact status

          Show
          oleg_nenashev Oleg Nenashev added a comment - It is in progress AFAICT. I have not been really looking at these stories over last month ( https://groups.google.com/d/msg/jenkinsci-dev/uc6NsMoCFQI/AIO4WG1UCwAJ),  so I am not sure what is the exact status
          Show
          slide_o_mix Alex Earl added a comment - See https://hub.docker.com/r/jenkins4eval/jenkins
          Hide
          markewaite Mark Waite added a comment -

          Docker images for arm64 controllers are provided for weekly releases since Jenkins 2.307 and LTS releases since Jenkins 2.303.1. See https://hub.docker.com/r/jenkins/jenkins/tags for the controller images that include arm support.

          Installation of the Debian package on arm is regularly tested through the https://ci.jenkins.io/job/Infra/job/acceptance-tests/job/install-lts-debian-package/ (weekly) and https://ci.jenkins.io/job/Infra/job/acceptance-tests/job/install-lts-debian-package/ (LTS)

          Docker images for arm inbound agents are provided for 4.10 based tags as shown by https://hub.docker.com/r/jenkins/inbound-agent/tags?page=1&name=4.10

          Docker images for arm ssh (outbound) agents are available for 4.0.0 based tags and later

          Show
          markewaite Mark Waite added a comment - Docker images for arm64 controllers are provided for weekly releases since Jenkins 2.307 and LTS releases since Jenkins 2.303.1. See https://hub.docker.com/r/jenkins/jenkins/tags for the controller images that include arm support. Installation of the Debian package on arm is regularly tested through the https://ci.jenkins.io/job/Infra/job/acceptance-tests/job/install-lts-debian-package/ (weekly) and https://ci.jenkins.io/job/Infra/job/acceptance-tests/job/install-lts-debian-package/ (LTS) Docker images for arm inbound agents are provided for 4.10 based tags as shown by https://hub.docker.com/r/jenkins/inbound-agent/tags?page=1&name=4.10 Docker images for arm ssh (outbound) agents are available for 4.0.0 based tags and later

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            shawnguo Shawn Guo
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: