added colly example

This commit is contained in:
marvzhang
2020-08-13 09:23:34 +08:00
parent e3fc3acc8b
commit 46a30d925c
7 changed files with 471 additions and 172 deletions

View File

@@ -33,7 +33,7 @@ ENV CRAWLAB_IS_DOCKER Y
RUN chmod 777 /tmp \
&& sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget dumb-init\
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget dumb-init cloc\
&& ln -s /usr/bin/pip3 /usr/local/bin/pip \
&& ln -s /usr/bin/python3 /usr/local/bin/python