mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-05-11 04:56:15 +02:00
Clean up dependencies
This commit is contained in:
parent
7dce339801
commit
9bea186008
|
@ -12,15 +12,12 @@ RUN apt-get update \
|
||||||
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
||||||
&& dpkg -i google-chrome-stable_current_amd64.deb \
|
&& dpkg -i google-chrome-stable_current_amd64.deb \
|
||||||
&& rm google-chrome-stable_current_amd64.deb \
|
&& rm google-chrome-stable_current_amd64.deb \
|
||||||
&& pip3 install GitPython idna PyYAML requests==2.18.4 selenium==3.11.0 smmap2==2.0.3 urllib3==1.22 certifi==2018.1.18 \
|
&& pip3 install GitPython idna PyYAML beautifulsoup4==4.6.0 requests==2.18.4 responses==0.9.0 selenium==3.11.0 smmap2==2.0.3 urllib3==1.22 certifi==2018.1.18 \
|
||||||
&& wget https://chromedriver.storage.googleapis.com/2.38/chromedriver_linux64.zip \
|
&& wget https://chromedriver.storage.googleapis.com/2.38/chromedriver_linux64.zip \
|
||||||
&& unzip chromedriver_linux64.zip \
|
&& unzip chromedriver_linux64.zip \
|
||||||
&& rm chromedriver_linux64.zip \
|
&& rm chromedriver_linux64.zip \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
# TODO: move this into the above
|
|
||||||
RUN pip3 install beautifulsoup4==4.6.0
|
|
||||||
|
|
||||||
RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 \
|
RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 \
|
||||||
&& tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2 \
|
&& tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2 \
|
||||||
&& mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ \
|
&& mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ \
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
beautifulsoup4==4.6.0
|
|
||||||
certifi==2018.1.18
|
|
||||||
chardet==3.0.4
|
|
||||||
gitdb2==2.0.3
|
|
||||||
GitPython==2.1.9
|
|
||||||
idna==2.6
|
|
||||||
PyYAML==3.12
|
|
||||||
requests==2.18.4
|
|
||||||
selenium==3.11.0
|
|
||||||
smmap2==2.0.3
|
|
||||||
urllib3==1.22
|
|
Loading…
Reference in a new issue