Lemmy on Raspberry-Pi via docker?
![](https://feddit.de/pictrs/image/1c711dc5-9a27-4543-81fc-228de56436b7.png)
![](https://lemmy.world/pictrs/image/8286e071-7449-4413-a084-1eb5242e2cf4.png)
Hey there! Has anyone gotten a lemmy server up and running on ARM64
? Since Commit 17527d0e7e8c9fd3cc16aa41c636432b7b6b5650 it looks like "multi arch" compiling is not supported anymore?
Unfortunately I am absolutely clueless when it comes to Rust, so my hacking around in the Dockerfile
has not gotten me far.
I haven't tried it myself but there should be nothing blocking you from compiling it for arm, either by compling on the target or by cross-compiling from x86.
Native compiling is just installing rust and running
cargo build --release
. It's the easiest way but compile times can get pretty bad on low power devices like a pi.Cross-compiling can be simple but gets complicated when stuff like openssl is involved. Cross may help with that https://github.com/cross-rs/cross
Applying that to a Docker is a bit of a different matter though... If you haven't figured it out, I can try it out on my raspberry pi in a few hours from now.
Cross compiling is one of the few places that Go shines over Rust