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

48 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

2020-03-15 10:54:41 +00:00
# Self-building
2020-03-14 19:41:01 +00:00
**Caution: self-building does not have to be used on its own. See the [Alternative Architectures](alternative-architectures.md) page.**
2021-01-24 08:08:11 +00:00
The playbook supports self-building of various components, which don't have a container image for your architecture (see the [container images we use](container-images.md)). For `amd64`, self-building is not required.
2020-03-14 19:41:01 +00:00
For other architectures (e.g. `arm32`, `arm64`), ready-made container images are used when available. If there's no ready-made image for a specific component and said component supports self-building, an image will be built on the host. Building images like this takes more time and resources (some build tools need to get installed by the playbook to assist building).
2020-03-14 19:41:01 +00:00
To make use of self-building, you don't need to do anything. If a component has an image for the specified architecture, the playbook will use it directly. If not, it will build the image on the server itself.
Note that **not all components support self-building yet**.
2021-01-24 08:08:11 +00:00
Possibly outdated list of roles where self-building the Docker image is currently possible:
- `matrix-synapse`
- `matrix-synapse-admin`
- `matrix-client-element`
- `matrix-client-hydrogen`
2022-01-05 16:33:21 +00:00
- `matrix-client-cinny`
2020-09-01 10:46:05 +00:00
- `matrix-registration`
- `matrix-coturn`
- `matrix-corporal`
- `matrix-dimension`
- `matrix-ma1sd`
- `exim-relay`
- `matrix-bridge-hookshot`
2021-01-22 20:28:53 +00:00
- `matrix-bridge-appservice-irc`
2021-01-14 00:29:11 +00:00
- `matrix-bridge-appservice-slack`
- `matrix-bridge-appservice-webhooks`
- `matrix-bridge-beeper-linkedin`
- `matrix-bridge-mautrix-facebook`
- `matrix-bridge-mautrix-hangouts`
2021-10-12 11:45:04 +00:00
- `matrix-bridge-mautrix-googlechat`
- `matrix-bridge-mautrix-telegram`
2021-07-26 05:56:35 +00:00
- `matrix-bridge-mautrix-signal`
- `matrix-bridge-mautrix-gmessages`
- `matrix-bridge-mautrix-whatsapp`
- `matrix-bridge-mx-puppet-steam`
- `matrix-bot-mjolnir`
2022-01-06 18:30:10 +00:00
- `matrix-bot-honoroit`
2021-07-26 05:56:35 +00:00
- `matrix-bot-matrix-reminder-bot`
- `matrix-bot-maubot`
- `matrix-email2matrix`
- `matrix-pantalaimon`
2020-03-15 10:54:41 +00:00
Adding self-building support to other roles is welcome. Feel free to contribute!
If you'd like **to force self-building** even if an image is available for your architecture, look into the `matrix_*_self_build` variables provided by individual roles.