Create python 3.8 base dev image for spider

This commit is contained in:
Stille 2022-06-17 16:52:34 +08:00
parent 0c0655e72b
commit 021689e9ab
1 changed files with 13 additions and 0 deletions

View File

@ -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