lemmy/docker
Nutomic a5386187e3
Enable missing code for prometheus actix-web stats (#4230)
* Enable missing code for prometheus actix-web stats

* enable middleware conditionally
2023-12-04 09:53:53 -05:00
..
federation
docker-compose.yml Enable missing code for prometheus actix-web stats (#4230) 2023-12-04 09:53:53 -05:00
docker_db_backup.sh
docker_update.sh
Dockerfile Fix entrypoint in Dockerfile (#4202) 2023-11-26 16:50:31 -05:00
lemmy.hjson
nginx.conf
README.md fix: Cross-compilation to ARM64 (#4142) 2023-11-24 12:52:19 -05:00
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