From 41bdeafcbcd8ac80594426731ac460d953a08936 Mon Sep 17 00:00:00 2001 From: Astra Logical Date: Thu, 23 Jul 2026 11:53:15 -0400 Subject: [PATCH] Properly support python-olm compilation needs in container --- Dockerfile | 4 +++- requirements.txt | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a26403..a97313e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,12 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ WORKDIR /app -# Install libolm C library and build dependencies for E2E crypto bindings +# Install libolm C library, CMake, C++ compiler, and Python headers for E2E crypto bindings RUN apt-get update && apt-get install -y --no-install-recommends \ libolm-dev \ gcc \ + g++ \ + cmake \ python3-dev \ && rm -rf /var/lib/apt/lists/* diff --git a/requirements.txt b/requirements.txt index cc5a52b..5aca51e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ -mautrix[e2e]>=0.20.0 +mautrix[encryption]>=0.20.0 +python-olm>=3.2.0 aiosqlite>=0.19.0 python-keycloak>=4.0.0 markdown