mirror of https://github.com/LemmyNet/lemmy.git
705e86eb4c
* Re-add notif on tag failure. * Upping rust version. * Version 0.19.4-beta.1a * Try again. * Version 0.19.4-beta.1b * Removing unstable inspect. * Version 0.19.4-beta.1c * Remove use release cache. * Trying to fix cargo publish 1. * Version 0.19.4-beta.1d * Re-adding publish release * Version 0.19.4-beta.2 * Fixing workspace for lemmy_federate |
||
---|---|---|
.. | ||
federation | ||
Dockerfile | ||
README.md | ||
docker-compose.yml | ||
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.