Try to avoid build of cryptography for docker
This commit is contained in:
parent
d007eafe3e
commit
0217b5a7a4
|
@ -9,6 +9,7 @@ RUN \
|
|||
postgresql-dev \
|
||||
python3-dev \
|
||||
py3-psycopg2 \
|
||||
py3-cryptography \
|
||||
libldap \
|
||||
libffi-dev \
|
||||
make \
|
||||
|
@ -23,7 +24,7 @@ RUN \
|
|||
ln -s /usr/bin/python3 /usr/bin/python
|
||||
|
||||
# create virtual env for next stage
|
||||
RUN python -m venv /venv
|
||||
RUN python -m venv --system-site-packages /venv
|
||||
# emulate activation by prefixing PATH
|
||||
ENV PATH="/venv/bin:$PATH" VIRTUAL_ENV=/venv
|
||||
|
||||
|
@ -60,6 +61,7 @@ RUN apk add --no-cache \
|
|||
libpq \
|
||||
libxml2 \
|
||||
libxslt \
|
||||
py3-cryptography \
|
||||
&& \
|
||||
ln -s /usr/bin/python3 /usr/bin/python
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ channels_redis~=3.3.0
|
|||
uvicorn[standard]~=0.14.0
|
||||
gunicorn~=20.1.0
|
||||
|
||||
cryptography~=3.4.7
|
||||
cryptography=>3.3.2
|
||||
# requests-http-signature==0.0.3
|
||||
# clone until the branch is merged and released upstream
|
||||
git+https://github.com/agateblue/requests-http-signature.git@signature-header-support
|
||||
|
|
Loading…
Reference in New Issue