summary refs log tree commit diff
path: root/docker
diff options
context:
space:
mode:
authorDan Callahan <danc@element.io>2021-02-15 15:30:16 +0000
committerGitHub <noreply@github.com>2021-02-15 15:30:16 +0000
commitb8b172466fe1605e29e8a4642fcce47ecf2ca7f0 (patch)
treefe33a6d935046164fb2e1311082703b803355649 /docker
parentClarify when new ratelimiting was added. (diff)
downloadsynapse-b8b172466fe1605e29e8a4642fcce47ecf2ca7f0.tar.xz
Add rustc to Docker image build environment (#9405)
This is needed to build the cryptography library, since it does not
provide wheels for ARMv7.

Fixes #9403

Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to '')
-rw-r--r--docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index afd896ffc1..d619ee08ed 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -28,11 +28,13 @@ RUN apt-get update && apt-get install -y \
     libwebp-dev \
     libxml++2.6-dev \
     libxslt1-dev \
+    rustc \
     zlib1g-dev \
  && rm -rf /var/lib/apt/lists/*
 
 # Build dependencies that are not available as wheels, to speed up rebuilds
 RUN pip install --prefix="/install" --no-warn-script-location \
+        cryptography \
         frozendict \
         jaeger-client \
         opentracing \