Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 291a82a

Browse files
committed
Install cryptography build dependencies in requirements image.
This is needed because poetry depends on cryptography. Without this, building fails when building on an architecture where an upstream cryptography wheel is not available - for example, on an armv7 (raspberry pi 4 not in 64 bits mode).
1 parent 357561c commit 291a82a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)