1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

add scrapyjs to scrapyd

This commit is contained in:
kev 2015-09-20 18:19:43 +08:00
parent 787d169304
commit 284c022e6f
2 changed files with 6 additions and 1 deletions

View File

@ -38,6 +38,7 @@ RUN apt-get update \
&& pip install git+https://github.com/scrapy/scrapy.git \ && pip install git+https://github.com/scrapy/scrapy.git \
git+https://github.com/scrapy/scrapyd.git \ git+https://github.com/scrapy/scrapyd.git \
git+https://github.com/scrapy/scrapyd-client.git \ git+https://github.com/scrapy/scrapyd-client.git \
git+https://github.com/scrapinghub/scrapy-splash.git \
&& curl -sSL https://github.com/scrapy/scrapy/raw/master/extras/scrapy_bash_completion -o /etc/bash_completion.d/scrapy_bash_completion \ && 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 \ && echo 'source /etc/bash_completion.d/scrapy_bash_completion' >> /root/.bashrc \
&& apt-get purge -y --auto-remove autoconf \ && apt-get purge -y --auto-remove autoconf \

View File

@ -12,12 +12,15 @@ your Scrapy projects and control their spiders using a HTTP JSON API.
[Scrapyd-client][3] is a client for scrapyd. It provides the scrapyd-deploy [Scrapyd-client][3] is a client for scrapyd. It provides the scrapyd-deploy
utility which allows you to deploy your project to a Scrapyd server. utility which allows you to deploy your project to a Scrapyd server.
[ScrapyJS][4] provides Scrapy+JavaScript integration using Splash.
This image is based on `debian:jessie` without any useless packages installed. This image is based on `debian:jessie` without any useless packages installed.
Only 3 latest python packages are installed: Only 4 latest python packages are installed:
- `scrapy`: git+https://github.com/scrapy/scrapy.git - `scrapy`: git+https://github.com/scrapy/scrapy.git
- `scrapyd`: git+https://github.com/scrapy/scrapyd.git - `scrapyd`: git+https://github.com/scrapy/scrapyd.git
- `scrapyd-client`: git+https://github.com/scrapy/scrapyd-client.git - `scrapyd-client`: git+https://github.com/scrapy/scrapyd-client.git
- `scrapyjs`: git+https://github.com/scrapinghub/scrapy-splash.git
Please use this image as base for your own project. Please use this image as base for your own project.
@ -62,3 +65,4 @@ $ docker run -it --rm -v `pwd`:/code -w /code vimagick/scrapyd bash
[1]: https://github.com/scrapy/scrapy [1]: https://github.com/scrapy/scrapy
[2]: https://github.com/scrapy/scrapyd [2]: https://github.com/scrapy/scrapyd
[3]: https://github.com/scrapy/scrapyd-client [3]: https://github.com/scrapy/scrapyd-client
[4]: https://github.com/scrapinghub/scrapy-splash