olivia
olivia copied to clipboard
Support for ARM in docker builds
Hi,
First of all, congrats for this ambitious project, it looks extremely promising.
I would love to test it on my little home server, but unfortunately it's ARM-based (Odroid-HC2) and trying to run the docker image results in the following:
standard_init_linux.go:219: exec user process caused: exec format error
I would therefore suggest to include ARM support in the docker build pipeline, as it is used more and more for home servers. I understand this project may be too demanding for a Raspberry Pi, but there are some quite powerful ARM-based SBC out there!
As for the actual implementation, I would take a look at https://www.linuxserver.io/ and probably use one of their base images.
Simone
This is a link to a docker blog about docker on arm-based systems.
I don't have the time to contribute to this unfortunately, but my repo has a good example of how to build for multiple architectures using github actions and publish to GHCR: https://github.com/MakeMonmouth/mventory/blob/main/.github/workflows/container_build.yml
That might help you! :)