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

Support arm64 architecture build of docker image

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • docker
    • None
    • jenkins/jenkins:latest image on Docker Hub
    • 2.307 and 2.303.1

      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.

          [JENKINS-52090] Support arm64 architecture build of docker image

          Lee Jones added a comment - - edited

          Since it looks like Jenkins 'just works' on ARM64, it should be fairly trivial to add it as a supported architecture.

          Does anyone have a few spare cycles to look at this please?

          Lee Jones added a comment - - edited Since it looks like Jenkins 'just works' on ARM64, it should be fairly trivial to add it as a supported architecture. Does anyone have a few spare cycles to look at this please?

          Lee Jones added a comment -

          It looks like ARM64 builds would 'just work' if the Docker Hub 'jenkins/jenkins' project was part of Docker's Official Images repo.

          However, since they have decided to host it in their own registry, they also need to cater for !X86 builds for this to work.

          Lee Jones added a comment - It looks like ARM64 builds would 'just work' if the Docker Hub 'jenkins/jenkins' project was part of Docker's Official Images repo. However, since they have decided to host it in their own registry, they also need to cater for !X86 builds for this to work.

          Lee Jones added a comment -

          Any update on this please?

          Lee Jones added a comment - Any update on this please?

          Oleg Nenashev added a comment -

          Responded here: https://github.com/jenkinsci/docker/issues/686#issuecomment-413173676 

          I am also interested in ARM Docker images, so I will temporarily assign it to myself.

           

          Oleg Nenashev added a comment - Responded here: https://github.com/jenkinsci/docker/issues/686#issuecomment-413173676   I am also interested in ARM Docker images, so I will temporarily assign it to myself.  

          Oleg Nenashev added a comment -

          By the way, we could offer Docker support from https://hub.docker.com/r/jenkins/jenkins-experimental/ . This image is built on DockerHub

           

          Oleg Nenashev added a comment - By the way, we could offer Docker support from https://hub.docker.com/r/jenkins/jenkins-experimental/  . This image is built on DockerHub  

          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
          

           

          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  

          Lee Jones added a comment -

          Are there any updates on this please?

          Lee Jones added a comment - Are there any updates on this please?

          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

          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

          Alex Earl added a comment -

          Alex Earl added a comment - See https://hub.docker.com/r/jenkins4eval/jenkins

          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

          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

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

              Created:
              Updated:
              Resolved: