From c3a700cb5ca673e0e120a78b2ee6266a2792110d Mon Sep 17 00:00:00 2001 From: Tortue Torche <126358-tortuetorche@users.noreply.gitlab.com> Date: Mon, 8 Feb 2021 09:03:14 +0000 Subject: [PATCH] Fix 'cryptography' building error See: https://cryptography.io/en/latest/installation.html#alpine --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a687691..d8310bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,9 @@ FROM alpine:3.10 RUN set -e; \ apk add --no-cache \ bash ca-certificates gettext jq \ - py3-pip python3-dev libc-dev libffi-dev openssl-dev gcc make; \ + py3-pip python3-dev libc-dev libffi-dev openssl-dev gcc make musl-dev cargo; \ \ - pip3 --no-cache-dir install 'docker-compose>=1.24.1,<1.25.0' 'httpie>=1.0.3,<1.1.0'; \ + pip3 --no-cache-dir install 'docker-compose>=1.24.1,<1.25.0' 'httpie>=1.0.3,<1.1.0' 'cryptography>=3.3.0,<3.4.0'; \ \ apk del python3-dev libc-dev libffi-dev openssl-dev gcc make; \ rm -rf /tmp/src