Fixed docker dependency issues
This commit is contained in:
parent
b07cc4c643
commit
c116fa21c9
|
@ -20,19 +20,8 @@ RUN \
|
||||||
make \
|
make \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
openldap-dev \
|
openldap-dev \
|
||||||
jpeg-dev \
|
|
||||||
zlib-dev \
|
|
||||||
freetype-dev \
|
|
||||||
lcms2-dev \
|
|
||||||
openjpeg-dev \
|
|
||||||
tiff-dev \
|
|
||||||
tk-dev \
|
|
||||||
tcl-dev \
|
|
||||||
harfbuzz-dev \
|
|
||||||
fribidi-dev \
|
|
||||||
&& \
|
&& \
|
||||||
\
|
\
|
||||||
\
|
|
||||||
ln -s /usr/bin/python3 /usr/bin/python
|
ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
RUN mkdir /requirements
|
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
|
# hack around https://github.com/pypa/pip/issues/6158#issuecomment-456619072
|
||||||
ENV PIP_DOWNLOAD_CACHE=/noop/
|
ENV PIP_DOWNLOAD_CACHE=/noop/
|
||||||
RUN \
|
RUN \
|
||||||
|
echo 'fixing requirements file for alpine' && \
|
||||||
|
sed -i '/Pillow/d' /requirements/base.txt && \
|
||||||
|
\
|
||||||
echo 'installing pip requirements' && \
|
echo 'installing pip requirements' && \
|
||||||
pip3 install --upgrade pip && \
|
pip3 install --upgrade pip && \
|
||||||
pip3 install setuptools wheel && \
|
pip3 install setuptools wheel && \
|
||||||
|
|
|
@ -33,7 +33,7 @@ djangorestframework>=3.10,<3.11
|
||||||
djangorestframework-jwt>=1.11,<1.12
|
djangorestframework-jwt>=1.11,<1.12
|
||||||
pendulum>=2,<3
|
pendulum>=2,<3
|
||||||
persisting-theory>=0.2,<0.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-filter>=2.1,<2.2
|
||||||
django-rest-auth>=0.9,<0.10
|
django-rest-auth>=0.9,<0.10
|
||||||
ipython>=7,<8
|
ipython>=7,<8
|
||||||
|
|
Loading…
Reference in New Issue