Commit Graph

15 Commits (7f9950fe85f57217d0be67836ff6a85cbc280cad)

Author SHA1 Message Date
Kroese fc07ba2d3b
Fix entrypoint in Dockerfile (#4202)
* Fix entrypoint

* Delete docker/builders/lemmy-builder-arm64/docker-build.sh

* Delete docker/builders directory

* Remove exception for builder

* Remove publish_builder_arm64
2023-11-26 16:50:31 -05:00
Enzo Nocera 8a05c8f8be
fix: Cross-compilation to ARM64 (#4142)
* feat(docker/docs): explain how building lemmy works

Signed-off-by: Enzo NOCERA <enzo@nocera.eu>

* feat: add arm build

* review: rename script & fix typo

* feat(ci): allow cross platform compilation

* feat(ci): prettier

* fix(docker): fix base image name

* fix: add dockerfile in CI path

Signed-off-by: Enzo Nocera <enzo@nocera.eu>

* fix(docker): fix runner name

* fix(docker): fix builder base image

* fix(docker): fix builder base image platform

* fix(docker): avoid using the wrapper adduser/addgroup

* feat: avoid adding the whole docker directory in the build context

---------

Signed-off-by: Enzo NOCERA <enzo@nocera.eu>
Signed-off-by: Enzo Nocera <enzo@nocera.eu>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Nutomic <me@nutomic.com>
2023-11-24 12:52:19 -05:00
Nutomic 1eaf2c8a03
Add feature to embed pictrs in lemmy binary (fixes #2627) (#2633)
* Add feature to embed pictrs in lemmy binary (fixes #2627)

* Add pictrs config

* add protobuf

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-01-20 12:46:49 -05:00
Felix Ableitner b7d1d91309 For untagged commits, include hash in version name (fixes #1563) 2021-04-12 13:47:58 +02:00
Dessalines d26a7ad337
Trying out cargo chef and a travis docker image cache. (#1238)
* Trying out cargo chef and a travis docker image cache.

* trying to change internal target.

* Use latest cargo-chef with --target

* Remove caching for now.

* Adding back in chowns

* Adding back in cache.

* Remove travis caching.

* Switching dev dockerfile to match prod, using cargo-chef and alpine.

* Make travis happy

* Trying a chown rust.

* Caching cargo-chef first.

* Moving the chowns

* Removing many copy commands.

* Go back to rust 1.47.0 due to config-rs breaking.

* Adding the old volume mount version.

* Adding some script comments.

Co-authored-by: Luca Palmieri <lpalmieri@truelayer.com>
2020-11-23 10:59:06 -05:00
Dessalines ba0680f5e6 Simplifying prod build, using musl stable. 2020-10-26 12:18:47 -05:00
Felix c3ac1649f2 Implement integration test for federation 2020-04-24 18:30:31 +02:00
Dessalines 5c83cbc1ac Fixing .dockerignore. 2020-04-14 12:27:38 -04:00
Felix 8f67a3c634 Cleanup gitignore and dockerignore files 2020-03-12 20:25:14 +01:00
Felix Ableitner 063811cb60 Merge branch 'master' into federation 2020-03-12 12:34:37 +01:00
Dessalines 87db5ab64d Adding volumes to dockerignore. 2020-03-09 23:37:39 -04:00
Felix 35489a706b Faster Docker build directly on host 2020-01-10 19:04:58 +01:00
Felix Ableitner 62ba018b19 Include docs in docker image 2020-01-01 18:14:09 +01:00
Dessalines 7a7f98260a Updating readme with gitlab and github links.
- Fixes #41
2019-08-16 13:08:37 -07:00
Dessalines e826f631d8 Adding docker.
- Adding docker support. Fixes #6
- Completing the name change to lemmy. Fixes #36
- Running DB migrations from code. Fixes #38
2019-04-05 22:29:20 -07:00