From 376ac032eb089ac456824febea66bd8de762bb24 Mon Sep 17 00:00:00 2001 From: Tortue Torche <126358-tortuetorche@users.noreply.gitlab.com> Date: Mon, 8 Feb 2021 09:33:20 +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 ccee7cd..7c9b72c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,9 @@ FROM alpine:3.12 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.26.2,<1.27.0' 'httpie>=1.0.3,<1.1.0'; \ + pip3 --no-cache-dir install 'docker-compose>=1.26.2,<1.27.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