Fixed docker dependency issues

merge-requests/1042/head
Eliot Berriot 2020-02-04 11:43:08 +01:00
rodzic b07cc4c643
commit c116fa21c9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6B501DFD73514E14
2 zmienionych plików z 5 dodań i 13 usunięć

Wyświetl plik

@ -19,20 +19,9 @@ RUN \
libffi-dev \
make \
zlib-dev \
openldap-dev \
jpeg-dev \
zlib-dev \
freetype-dev \
lcms2-dev \
openjpeg-dev \
tiff-dev \
tk-dev \
tcl-dev \
harfbuzz-dev \
fribidi-dev \
openldap-dev \
&& \
\
\
ln -s /usr/bin/python3 /usr/bin/python
RUN mkdir /requirements
@ -40,6 +29,9 @@ COPY ./requirements/base.txt /requirements/base.txt
# hack around https://github.com/pypa/pip/issues/6158#issuecomment-456619072
ENV PIP_DOWNLOAD_CACHE=/noop/
RUN \
echo 'fixing requirements file for alpine' && \
sed -i '/Pillow/d' /requirements/base.txt && \
\
echo 'installing pip requirements' && \
pip3 install --upgrade pip && \
pip3 install setuptools wheel && \

Wyświetl plik

@ -33,7 +33,7 @@ djangorestframework>=3.10,<3.11
djangorestframework-jwt>=1.11,<1.12
pendulum>=2,<3
persisting-theory>=0.2,<0.3
django-versatileimagefield>=1.10,<1.11
django-versatileimagefield>=2.0,<2.1
django-filter>=2.1,<2.2
django-rest-auth>=0.9,<0.10
ipython>=7,<8