mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
Merge pull request #1165 from ma-pony/develop
build(golang/dockerfile): rm unused tar
This commit is contained in:
@@ -25,12 +25,14 @@ RUN apt-get install -y python3 python3-pip \
|
||||
# install golang
|
||||
RUN curl -OL https://storage.googleapis.com/golang/go1.16.7.linux-amd64.tar.gz \
|
||||
&& tar -C /usr/local -xvf go1.16.7.linux-amd64.tar.gz \
|
||||
&& ln -s /usr/local/go/bin/go /usr/local/bin/go
|
||||
&& ln -s /usr/local/go/bin/go /usr/local/bin/go \
|
||||
&& rm go1.16.7.linux-amd64.tar.gz
|
||||
|
||||
# install seaweedfs
|
||||
RUN wget https://github.com/chrislusf/seaweedfs/releases/download/2.76/linux_amd64.tar.gz \
|
||||
&& tar -zxf linux_amd64.tar.gz \
|
||||
&& cp weed /usr/local/bin
|
||||
&& cp weed /usr/local/bin \
|
||||
&& rm linux_amd64.tar.gz
|
||||
|
||||
# install backend
|
||||
RUN pip install scrapy pymongo bs4 requests -i https://mirrors.aliyun.com/pypi/simple
|
||||
|
||||
Reference in New Issue
Block a user