summary refs log tree commit diff
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
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>
-rw-r--r--changelog.d/9405.misc1
-rw-r--r--docker/Dockerfile2
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/9405.misc b/changelog.d/9405.misc
new file mode 100644
index 0000000000..d82c3b832f
--- /dev/null
+++ b/changelog.d/9405.misc
@@ -0,0 +1 @@
+Add rustc as a dependency when building Docker images.
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 \