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

21 lines
1022 B
Markdown
Raw Normal View History

2020-03-15 10:54:41 +00:00
# Self-building
2020-03-14 19:41:01 +00: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 19:41:01 +00:00
2020-03-15 09:34:35 +00: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 13:46:41 +00:00
matrix_container_images_self_build: true
2020-03-14 19:41:01 +00:00
```
2020-03-15 09:34:35 +00: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 19:41:01 +00:00
List of roles where self-building the Docker image is currently possible:
- `matrix-synapse`
- `matrix-riot-web`
- `matrix-coturn`
- `matrix-ma1sd`
- `matrix-mautrix-facebook`
- `matrix-mautrix-hangouts`
- `matrix-mx-puppet-skype`
2020-03-15 10:54:41 +00:00
Adding self-building support to other roles is welcome. Feel free to contribute!