matrix-docker-ansible-deploy/docs/alternative-architectures.md

1.1 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.yml file (see Configuring playbook):

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.yml file:

matrix_architecture: "arm32"

Implementation details

For amd64, prebuilt container images (see the container images we use) are used for all components (except Hydrogen, which goes through self-building).

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.