Add deps for pillow in docker image
This commit is contained in:
parent
031cc68375
commit
459e66db30
|
@ -19,7 +19,18 @@ RUN \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
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
|
||||||
|
@ -29,10 +40,6 @@ 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 && \
|
||||||
|
|
Loading…
Reference in New Issue