Fix 'cryptography' building error

See: https://cryptography.io/en/latest/installation.html#alpine
This commit is contained in:
Tortue Torche 2021-02-08 09:03:14 +00:00
parent 8a76c20ab8
commit c3a700cb5c

View File

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