From 5bb28c5264609d8c4c73e523d8cb01b14dfd823f Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Wed, 12 Jan 2022 14:06:15 +0100 Subject: [PATCH] Add comments for better understanding --- api/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/Dockerfile b/api/Dockerfile index dfe92eff2..3207ac012 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -35,6 +35,10 @@ RUN \ echo 'installing pip requirements' && \ pip3 install --upgrade pip poetry && \ pip3 install setuptools wheel && \ + # Currently we are unable to relieably build cryptography on armv7. This + # is why we need to use the package shipped by Alpine Linux, which is currently + # version 3.3.2. Since poetry does not allow in-place dependency pinning, we need + # to install the deps using pip. poetry export --without-hashes | grep -v cryptography | pip3 install -r /dev/stdin cryptography==3.3.2 && \ rm -rf $PIP_DOWNLOAD_CACHE