asciinema / asciinema-server

Platform for hosting and sharing terminal session recordings
https://asciinema.org
Apache License 2.0
2.26k stars 262 forks source link

Added multiplatform build step for arm support #433

Closed aemr3 closed 3 months ago

aemr3 commented 4 months ago

Added multiplatform build step for arm support. There was a segfault error preventing builds for arm. I added ERL_FLAGS to the Dockerfile to fix it. Some references for it: https://elixirforum.com/t/cant-compile-elixir-phoenix-api-in-docker-build-step/56863/6 https://gitlab.com/qemu-project/qemu/-/issues/1953

Fixes #428

I have tested this on a Oracle Ampere A1 cpu. Maybe we can also add support for linux/arm/v7? Thats up to you @ku1ik

ku1ik commented 3 months ago

This is great! Thank you.

I don't see why not add linux/arm/v7 as well :+1: