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
renovate[bot] 4d9e38d875
Update asonix/pictrs Docker tag to v0.5.14 (#4767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
5 months ago
..
federation Update asonix/pictrs Docker tag to v0.5.14 (#4767) 5 months ago
Dockerfile upgrade rust to 1.78 to fix diesel cli (#4761) 5 months ago
README.md fix: Cross-compilation to ARM64 (#4142) 11 months ago
docker-compose.yml Update asonix/pictrs Docker tag to v0.5.14 (#4767) 5 months ago
docker_db_backup.sh make shebangs posix compliant (#2974) 1 year ago
docker_update.sh Avoid using proxy for pictrs requests (fixes #3489) (#4072) 1 year ago
lemmy.hjson Fix image_mode for docker lemmy.hjson (#4403) 9 months ago
nginx.conf Adding /version route. Fixes #2914 (#4059) 1 year ago
test_deploy.sh Adding current domain from settings to CORs. (#3231) 1 year 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