goofball222 / factorio

Factorio headless server Docker container
Apache License 2.0
47 stars 14 forks source link

Add `arm64` support. #26

Closed LWJerri closed 2 years ago

LWJerri commented 2 years ago

Please, add arm64 build support.

goofball222 commented 2 years ago

Hi, unfortunately this is a cantfix/wontfix issue. The Factorio binaries released by the developers are compiled only for X86/amd64 arch and even if I had buildx create an arm64 image the headless server binary itself won't run. Additionally although there are ways to emulate X86/amd64 on arm64, but they're not very suitable or stable enough at this point for a Factorio game server.

msrd0 commented 1 month ago

Turns out the factoriotools/factorio docker container ships with aarch64 support: https://github.com/factoriotools/factorio-docker/blob/master/docker/Dockerfile#L61-L68