fix(api/Dockerfile): bump cryptography to 3.4.8

environments/review-docs-renov-b1i8ag/deployments/15025
Jacek Pruciak 2022-10-30 14:24:52 +01:00
rodzic ff26bb8976
commit 0168632ad9
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -50,9 +50,9 @@ RUN \
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
# version 3.4.8. Since poetry does not allow in-place dependency pinning, we need
# to install the deps using pip.
cat /requirements.txt | grep -Ev 'cryptography|autobahn' | pip3 install -r /dev/stdin cryptography==3.3.2 autobahn==21.2.1 && \
cat /requirements.txt | grep -Ev 'cryptography|autobahn' | pip3 install -r /dev/stdin cryptography==3.4.8 autobahn==21.2.1 && \
rm -rf $PIP_DOWNLOAD_CACHE
ARG install_dev_deps=0