mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
0a6186d7aa
* Fixing apt-key deprecation, and using apt-get. * Try 2 * Try 3 * Try 4 * Try 5 * Try 6 * Try 7 * Try 8 * Try 9 * Try 10 * Try 11 * Try 12 * Try 13 * Try 14 * Try 15 * Try 16 * Try 17 |
||
---|---|---|
.. | ||
federation | ||
docker_db_backup.sh | ||
docker_update.sh | ||
docker-compose.yml | ||
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.