summary refs log tree commit diff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorJasper Spaans <j@jasper.es>2022-08-03 12:16:32 +0200
committerGitHub <noreply@github.com>2022-08-03 11:16:32 +0100
commit503a95804e61be692abb2c872e03284efc541afb (patch)
tree121158dbbb909900c9d71647b3dcc75ceb81627d /docker/Dockerfile
parentImprove documentation on becoming server admin (#13230) (diff)
downloadsynapse-503a95804e61be692abb2c872e03284efc541afb.tar.xz
Install cryptography build dependencies in requirements image. (#13372)
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 97bb03b08f..fa58ae3acb 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -40,7 +40,8 @@ FROM docker.io/python:${PYTHON_VERSION}-slim as requirements
 RUN \
    --mount=type=cache,target=/var/cache/apt,sharing=locked \
    --mount=type=cache,target=/var/lib/apt,sharing=locked \
- apt-get update -qq && apt-get install -yqq git \
+    apt-get update -qq && apt-get install -yqq \
+      build-essential cargo git libffi-dev libssl-dev \
     && rm -rf /var/lib/apt/lists/*
 
 # We install poetry in its own build stage to avoid its dependencies conflicting with