Browse Source

Install cryptography build dependencies in requirements image. (#13372)

tags/v1.65.0rc1
Jasper Spaans 1 year ago
committed by GitHub
parent
commit
503a95804e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      changelog.d/13372.docker
  2. +2
    -1
      docker/Dockerfile

+ 1
- 0
changelog.d/13372.docker View File

@@ -0,0 +1 @@
Make docker images build on armv7 by installing cryptography dependencies in the "requirements" stage. Contributed by Jasper Spaans.

+ 2
- 1
docker/Dockerfile View File

@@ -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


Loading…
Cancel
Save