lemmy/docker
Dessalines 9cf6da1b9e Version 0.19.5 2024-06-19 08:17:45 -04:00
..
federation Version 0.19.5 2024-06-19 08:17:45 -04:00
Dockerfile
README.md fix: Cross-compilation to ARM64 (#4142) 2023-11-24 12:52:19 -05:00
docker-compose.yml Version 0.19.5 2024-06-19 08:17:45 -04:00
docker_db_backup.sh
docker_update.sh
lemmy.hjson Fix image_mode for docker lemmy.hjson (#4403) 2024-01-26 10:51:59 +01:00
nginx.conf Adding /version route. Fixes #2914 (#4059) 2023-10-24 10:49:52 +02:00
test_deploy.sh Adding current domain from settings to CORs. (#3231) 2023-06-20 20:29:48 -04:00

README.md

Building Lemmy Images

Lemmy's images are meant to be built on linux/amd64, but they can be executed on both linux/amd64 and linux/arm64.

To do so we need to use a cross toolchain whose goal is to build from amd64 to arm64.

Namely, we need to link the lemmy_server with pq and openssl shared libraries and a few others, and they need to be in arm64, indeed.

The toolchain we use to cross-compile is specifically tailored for Lemmy's needs, see the image repository.

References