diff options
author | Jasper Spaans <j@jasper.es> | 2022-08-03 12:16:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 11:16:32 +0100 |
commit | 503a95804e61be692abb2c872e03284efc541afb (patch) | |
tree | 121158dbbb909900c9d71647b3dcc75ceb81627d | |
parent | Improve documentation on becoming server admin (#13230) (diff) | |
download | synapse-503a95804e61be692abb2c872e03284efc541afb.tar.xz |
Install cryptography build dependencies in requirements image. (#13372)
-rw-r--r-- | changelog.d/13372.docker | 1 | ||||
-rw-r--r-- | docker/Dockerfile | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog.d/13372.docker b/changelog.d/13372.docker new file mode 100644 index 0000000000..238c78de09 --- /dev/null +++ b/changelog.d/13372.docker @@ -0,0 +1 @@ +Make docker images build on armv7 by installing cryptography dependencies in the "requirements" stage. Contributed by Jasper Spaans. \ No newline at end of file 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 |