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.

Providing an ARM build?

See original GitHub issue

I am trying to host my FastAPI project on a Raspberry Pi and get the following error every time I hit a RUN: standard_init_linux.go:190: exec user process caused "exec format error"

A little bit of research led me to believe that I need an ARM-image to base my project on, is there anything planned?


My Dockerfile:

# use FastAPI quick-deploy
FROM tiangolo/uvicorn-gunicorn:python3.7-alpine3.8

# copy whole installation (minus dockerignore)
COPY ./app /app

# install additional dependencies
COPY ./requirements.txt requirements.txt
RUN pip install -r requirements.txt

# entrypoints are managed by FastAPI

Issue Analytics

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

github_iconTop GitHub Comments

7reactions
uburuntucommented, May 3, 2020

@tiangolo hello! Now it is possible to build arm based containers on any computer. Can you support it in your scripts? If you dont have enough free time I can try to make PR.

https://medium.com/@artur.klauser/building-multi-architecture-docker-images-with-buildx-27d80f7e2408 https://collabnix.com/building-arm-based-docker-images-on-docker-desktop-made-possible-using-buildx/

4reactions
tedivmcommented, Sep 23, 2021

I’ve made an upstream PR to make the uvicorn-gunicorn containers multiarch. Those images are on docker hub as well (since I was testing push functionality).

Assuming that gets merged I can make another PR here to do the same.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Infrastructure - Works on Arm
A software developer initiative providing free access to resources, CI/CD environments & instances, hardware & software, for cloud-to-edge projects on Arm.
Read more >
Integrate ARM templates with Azure Pipelines - Microsoft Learn
Describes how to configure continuous integration in Azure Pipelines by using Azure Resource Manager templates.
Read more >
Managing CI/CD pipelines with Arm compute resource classes
In this tutorial, I will introduce the new Arm resource classes and demonstrate how to use them in your pipelines to build, test, ......
Read more >
Arm processors: Everything you need to know now - ZDNet
The ninth generation of the Arm processor architecture, ... or "partner," builds a design around the core series that provides the functions ...
Read more >
Building ARM Templates - Alanta
It even offers some refactorings nowadays, for example to rename a parameter. Pro Tip: the snippets provided by the Azure Resource Manager (ARM) ......
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