You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/docker
SleeplessOne1917 4ef00e068f
Prevent crates that shouldn't be published from being published (#4309)
* 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>
5 months ago
..
federation Prevent crates that shouldn't be published from being published (#4309) 5 months ago
Dockerfile Fix entrypoint in Dockerfile (#4202) 6 months ago
README.md fix: Cross-compilation to ARM64 (#4142) 6 months ago
docker-compose.yml Prevent crates that shouldn't be published from being published (#4309) 5 months ago
docker_db_backup.sh make shebangs posix compliant (#2974) 12 months ago
docker_update.sh Avoid using proxy for pictrs requests (fixes #3489) (#4072) 7 months ago
lemmy.hjson Removing one other cache_remote_images. (#4151) 6 months ago
nginx.conf Adding /version route. Fixes #2914 (#4059) 7 months ago
test_deploy.sh Adding current domain from settings to CORs. (#3231) 11 months ago

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