mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Fix 'cryptography' building error
See: https://cryptography.io/en/latest/installation.html#alpine
This commit is contained in:
parent
6efc1a0145
commit
376ac032eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user