mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-24 05:11:18 +00:00
3bb1108686
* Prevent crates that shouldn't be published from being published * Make dependent crates publishable * Make dependent crates publishable * fix toml formatting * Removing publish=true * Removing versioned deps. --------- Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com> Co-authored-by: Dessalines <tyhou13@gmx.com> |
||
---|---|---|
.. | ||
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.