Create python 3.8 base dev image for spider
This commit is contained in:
parent
0c0655e72b
commit
021689e9ab
|
@ -0,0 +1,13 @@
|
||||||
|
FROM python:3.8
|
||||||
|
LABEL maintainer="Stille <stille@ioiox.com>"
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y zip vim
|
||||||
|
RUN pip install requests bs4 asyncio aiohttp lxml
|
||||||
|
|
||||||
|
ENV TZ=Asia/Shanghai
|
||||||
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
|
||||||
|
&& echo $TZ > /etc/timezone \
|
||||||
|
&& apt-get install tzdata \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& apt-get autoclean
|
Loading…
Reference in New Issue