YoRyan/mailrise

Support for Raspberry Pi (linux/arm64/v8)

cornernote opened this issue · 1 comments

Hello,

I moved my docker services from an intel server to a Raspberry Pi, and when starting this service I get an error:

# docker compose up -d

[+] Running 2/2
 ✔ Container mailrise                                                                                                                                      Started                                                                                                                                         0.2s 
 ! mailrise The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested   

The logs show that the binary file won't run:

# docker compose logs -f

mailrise  | exec /home/mailrise/.local/bin/mailrise: exec format error

Are there any plans to support linux/arm64/v8 ?

There are already arm64 builds: https://hub.docker.com/r/yoryan/mailrise/tags

Your docker compose file appears to be hard coded to use the amd64 build. Either specify the arm64 build or remove the architecture altogether and docker will pull the matching one:

image yoryan/mailrise