Verified Commit 0217b5a7 authored by Georg Krause's avatar Georg Krause
Browse files

Try to avoid build of cryptography for docker

parent d007eafe
...@@ -9,6 +9,7 @@ RUN \ ...@@ -9,6 +9,7 @@ RUN \
postgresql-dev \ postgresql-dev \
python3-dev \ python3-dev \
py3-psycopg2 \ py3-psycopg2 \
py3-cryptography \
libldap \ libldap \
libffi-dev \ libffi-dev \
make \ make \
...@@ -23,7 +24,7 @@ RUN \ ...@@ -23,7 +24,7 @@ RUN \
ln -s /usr/bin/python3 /usr/bin/python ln -s /usr/bin/python3 /usr/bin/python
# create virtual env for next stage # create virtual env for next stage
RUN python -m venv /venv RUN python -m venv --system-site-packages /venv
# emulate activation by prefixing PATH # emulate activation by prefixing PATH
ENV PATH="/venv/bin:$PATH" VIRTUAL_ENV=/venv ENV PATH="/venv/bin:$PATH" VIRTUAL_ENV=/venv
...@@ -60,6 +61,7 @@ RUN apk add --no-cache \ ...@@ -60,6 +61,7 @@ RUN apk add --no-cache \
libpq \ libpq \
libxml2 \ libxml2 \
libxslt \ libxslt \
py3-cryptography \
&& \ && \
ln -s /usr/bin/python3 /usr/bin/python ln -s /usr/bin/python3 /usr/bin/python
......
...@@ -41,7 +41,7 @@ channels_redis~=3.3.0 ...@@ -41,7 +41,7 @@ channels_redis~=3.3.0
uvicorn[standard]~=0.14.0 uvicorn[standard]~=0.14.0
gunicorn~=20.1.0 gunicorn~=20.1.0
cryptography~=3.4.7 cryptography=>3.3.2
# requests-http-signature==0.0.3 # requests-http-signature==0.0.3
# clone until the branch is merged and released upstream # clone until the branch is merged and released upstream
git+https://github.com/agateblue/requests-http-signature.git@signature-header-support git+https://github.com/agateblue/requests-http-signature.git@signature-header-support
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment