matrix-docker-ansible-deploy/docs/self-building.md

20 lines
969 B
Markdown
Raw Normal View History

2020-03-15 11:54:41 +01:00
# Self-building
2020-03-14 20:41:01 +01:00
The playbook supports the self-building of some of its components. This may be useful for architectures besides x86_64, which have no Docker images right now (e g. the armv7 for the Raspberry Pi). Some playbook roles have been updated, so they build the necessary image on the host. It needs more space, as some build tools need to be present (like Java, for ma1sd).
2020-03-14 20:41:01 +01:00
2020-03-15 10:34:35 +01:00
To use these modification there is a variable that needs to be switched to enable this functionality. Add this to your `vars.yaml` file:
```yaml
2020-04-08 15:46:41 +02:00
matrix_container_images_self_build: true
2020-03-14 20:41:01 +01:00
```
2020-03-15 10:34:35 +01:00
Setting that variable will self-build every role which supports self-building. Self-building can be set on a per-role basis as well.
2020-03-14 20:41:01 +01:00
List of roles where self-building the docker image is currently possible:
- synapse
- riot-web
- coturn
- ma1sd
2020-03-14 20:41:01 +01:00
- matrix-bridge-mautrix-facebook
- matrix-bridge-mautrix-hangouts
2020-03-15 11:54:41 +01:00
Adding self-building support to other roles is welcome. Feel free to contribute!