olivia icon indicating copy to clipboard operation
olivia copied to clipboard

Support for ARM in docker builds

Open simonepignotti opened this issue 4 years ago • 2 comments

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

simonepignotti avatar Nov 20 '20 17:11 simonepignotti

This is a link to a docker blog about docker on arm-based systems.

A-Yamout avatar Jan 19 '21 14:01 A-Yamout

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! :)

proffalken avatar Jul 29 '21 06:07 proffalken