question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker Image ARM architecture

See original GitHub issue

It would be nice to use the Docker Image on the ARM platform.

Here is an example how that could be done via GitHub Actions:

name: Build Docker Image

on:
  push:
    tags:
      - '*'

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Check out
        uses: actions/checkout@v2

      - name: Set up QEMU
        uses: docker/setup-qemu-action@v1

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1

      - name: Login to DockerHub
        uses: docker/login-action@v1
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

      - name: Build and push
        uses: docker/build-push-action@v2
        with:
          context: .
          file: ./Dockerfile
          platforms: linux/amd64,linux/arm/v7,linux/arm64
          push: true
          tags: peterdemin/kibitzr:latest,peterdemin/kibitzr:${GITHUB_REF/refs\/tags\//}

PS: You mentioned that Travis CI is not working anymore. Maybe you could switch to GitHub Actions altogether.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
peterdemincommented, Dec 6, 2021

@egvimo 6.0.4 released! Thank you very much!

0reactions
peterdemincommented, Dec 6, 2021

I added apt dependency for cffi, but cryptography fails to build without Rust (which is currently not available in the container). @egvimo, could you please fix the Dockerfile to make it work under ARM architecture? Also, I noticed, that the downloaded geckodriver release is using linux64 tag, this might break the firefox support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building Multi-Arch Images for Arm and x86 with Docker Desktop
Docker is making it easier than ever to develop containers on, and for Arm servers and devices. Using the standard tooling and processes...
Read more >
Docker image for ARM and other architectures - Padok
A Docker (or now an OCI) image registry is a REST API, with a layer of authentication and library management in front of...
Read more >
Multi-architecture images - Getting started with Docker
In this section of the guide, we explain multi-architecture containers. Multi-architecture containers support execution as an Arm image or as an x86 image....
Read more >
Building Multi-CPU Architecture Docker Images for ... - ITNEXT
Although the M1 version docker desktop allows users to run x86 docker images under emulation, it will be a more efficient solution to...
Read more >
Building Multi-Architecture Docker Images on ARM 64-bit ...
In this post, we'll demonstrate how to build and publish multi-architecture Docker images on an ARM Linux host for both x86–64 (AMD64) and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found