1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/docs/alternative-architectures.md
2021-01-24 10:08:11 +02:00

1.0 KiB

Alternative architectures

As stated in the Prerequisites, currently only x86_64 is fully supported. However, it is possible to set the target architecture, and some tools can be built on the host or other measures can be used.

To that end add the following variable to your vars.yaml file:

matrix_architecture: <your-matrix-server-architecture>

Currently supported architectures are the following:

  • amd64 (the default)
  • arm64
  • arm32

so for the Raspberry Pi, the following should be in your vars.yaml file:

matrix_architecture: "arm32"

Implementation details

For amd64, prebuilt container images (see the container images we use) are used everywhere, because all images are available for this architecture.

For other architectures, components which have a prebuilt image make use of it. If the component is not available for the specific architecture, self-building will be used. Not all components support self-building though, so your mileage may vary.