lemmy/docker
Nutomic 11e0513592
Change default image_mode to proxy, remove deprecated option (#5176)
* Change default image_mode to proxy, remove deprecated option

* fix api test
2025-01-10 12:34:12 -05:00
..
federation
docker-compose.yml
docker_db_backup.sh
docker_update.sh
Dockerfile
lemmy.hjson
nginx.conf
README.md
test_deploy.sh

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