1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-06 22:23:10 +02:00

patch scrapyd-clent (FIX #72 #183)

This commit is contained in:
kev
2021-07-21 19:02:44 +08:00
parent 909f42d1bf
commit bd56ef8a53

View File

@ -45,6 +45,7 @@ RUN set -xe \
git+https://github.com/scrapinghub/scrapy-splash.git \
git+https://github.com/scrapinghub/scrapyrt.git@$SCRAPYRT_VERSION \
git+https://github.com/python-pillow/Pillow.git@$PILLOW_VERSION \
&& sed -i 's/^from scrapy.utils.http/from w3lib.http/' /usr/local/lib/python3.7/dist-packages/scrapyd_client/deploy.py \
&& curl -sSL https://github.com/scrapy/scrapy/raw/master/extras/scrapy_bash_completion -o /etc/bash_completion.d/scrapy_bash_completion \
&& echo 'source /etc/bash_completion.d/scrapy_bash_completion' >> /root/.bashrc \
&& apt-get purge -y --auto-remove autoconf \