tomazzlender
I setup a sample project on Github to show you a concrete example of a problem I’m having.
When I use
- Github Actions
- to build a docker image of an Elixir project
- using Elixir 1.14.5
- on an architecture linux/arm64/v8
the build fails. The same happens if I use Elixir 1.14.0, but a different error.
You can see errors on the links above.
If I use the same Dockerfile on Mac M2 or Raspberry PI (aarm64 architecture), the build succeeds.
I’m not sure what could be the issue.
The build also succeeds
- if I use Github Actions but some other architecture.
- if I use Elixir 1.13.4
Any idea would be much appreciated
.
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app?
Looking for hints regarding:
Addi...
New
Kia ora,
We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
Hi all, I wanted to ask how the community is dealing with post-release steps.
Today we have Ecto migrations, which make sure that the db...
New
Hello,
I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #ai
- #genstage
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










First 10 of 12 Posts
gdub01
I just updated my docker file yesterday and running it with GitHub actions - these images worked:
tomazzlender
I see Github Actions logs aren’t public, I’m adding relevant log snippet below
[1]
[2]
jhogberg
It looks like this is caused by QEMU not liking our JIT.
tomazzlender
Thanks for the suggestion! I tried using the builder image you posted, but it still fails
. Were you able to make it work on the architecture
linux/arm64/v8?tomazzlender
Thank you for finding this. Do you know if there is an alternative for QEMU or some other solution for the problem or could it be that everyone who uses Github Actions is doomed?
jhogberg
I’ll see if I can make a PR that fixes this in QEMU, it doesn’t seem to be a very high priority for them.
For the time being you can disable the JIT by compiling Erlang with
./configure --disable-jit.dimitarvp
I am absolutely not as well versed as an Erlang core contributor but as a blind shot in the dark I’d also try the official hexpm Docker images. There’s a ton of Erlang and Elixir version combinations.
AleksandarFilipov
What about disabling jit for building… lets hope there a flag
Edit: little to trigger happy now I see @jhogberg advice
tomazzlender
I’ll give building my own image a try. If you find the time for making the PR with the fix, that would be amazing!
tomazzlender
At the end, I stopped using QEMU and started building images with BuildJet for GitHub Actions | BuildJet for GitHub Actions.
It works, it’s faster, and cheaper than using GitHub hosted runners.
Thanks for help everyone!