lemmy/docker
Raphael Lullis bdabc5e827
Add curl to base images (#4510)
Having a tool like curl or wget can help us to run healthchecks on
docker-based deployments more easily. This commit adds curl to the
list of deb packages that are installed as external dependencies
2024-03-06 11:15:13 +01:00
..
federation Upgrading from postgres 15 -> 16-alpine. (#4426) 2024-02-07 11:21:02 +01:00
Dockerfile Add curl to base images (#4510) 2024-03-06 11:15:13 +01:00
README.md
docker-compose.yml Upgrading from postgres 15 -> 16-alpine. (#4426) 2024-02-07 11:21:02 +01:00
docker_db_backup.sh
docker_update.sh
lemmy.hjson
nginx.conf
test_deploy.sh

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