CircleCI Ideas

Support for ARM based Docker images.

An ARM-based executor for ARM-based  Docker images would allow Raspberry Pi development as well as other ARM software.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 22 2019
  • Taking votes
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    16 Mar 01:09

    I am developing an application for the raspberry pi and wanted to run my tests on circle ci, inside of a raspberrypi docker container.

    In the meantime I can avoid installing packages that depend on raspberry pi hardware (RPi.GPIO). Then I can run on x86 architecture. However this of course means that I lose test/prod parity.

    Thanks for your time, and a great product.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    20 Mar 15:43

    This hack allows you to build arm docker containers in cci.  unfortunately you still can't run them as the base image from your config yaml.  hoping maybe someone at cci can update to add a setting to allow us to run the qemu command?

     

    ```

    steps:
    - checkout
    - setup_remote_docker:
    docker_layer_caching: true
    version: 18.06.0-ce
    - run:
    name: Install Deps
    command: ./install_deps.sh
    - run:
    name: Build & Publish
    command: ./build_publish.sh

    ```

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    20 Mar 15:44

    err, can't edit posts here? the correct yaml is

     

     steps:
    - checkout
    - setup_remote_docker:
    - run:
    command: |
    docker run --rm --privileged multiarch/qemu-user-static:register
    docker build , # (w/ FROM from any arm like multiarch/ubuntu-core:arm64-xenial)
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    30 Mar 02:46

    I would like to be able to build for arm64 platforms. My company develops applications for ROS and the image arm64v8/ros:melodic fails to build as described in https://support.circleci.com/hc/en-us/articles/360018651374-Job-completes-after-Spin-up-Environment-for-non-x86-based-Docker-images-

    Is there any other work-around than the above hack?

  • Admin
    George Reyes commented
    30 Apr 17:34

    Thank you for this suggestion. We understand how important it is for our customers to have access to a varied set of executors, including ARM-based ones. However, ARM resources are not at the top of the list of resource expansion for us right now. As we get more feedback, we will reconsider the priority of this item.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    22 Jul 03:52

    We wish to build and test aarch64 based docker builds on circleci.com

     

    Our target platform is AWS EC2 ARM-based instances and Odroid C2/N4 devices.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    11 Aug 13:22

    Definitely Raspberry Pi, Android and many other platforms run on top of ARM architectures. Please, consider adding this request to your roadmap.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    20 Sep 22:16

    I’ll second this request. My builds are solely for arm, so I’ve been trying to get a workaround working. I would be willing to run on AWS if necessary but haven’t found sufficient guidance to help me put it together.