Skip to content

Commit ffa1f18

Browse files
japazmeuk
authored andcommitted
Install cryptography build dependencies in requirements image. (matrix-org#13372)
1 parent f645415 commit ffa1f18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changelog.d/13372.docker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make docker images build on armv7 by installing cryptography dependencies in the "requirements" stage. Contributed by Jasper Spaans.

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ FROM docker.io/python:${PYTHON_VERSION}-slim as requirements
4040
RUN \
4141
--mount=type=cache,target=/var/cache/apt,sharing=locked \
4242
--mount=type=cache,target=/var/lib/apt,sharing=locked \
43-
apt-get update -qq && apt-get install -yqq git \
43+
apt-get update -qq && apt-get install -yqq \
44+
build-essential cargo git libffi-dev libssl-dev \
4445
&& rm -rf /var/lib/apt/lists/*
4546

4647
# We install poetry in its own build stage to avoid its dependencies conflicting with

0 commit comments

Comments
 (0)