From 021689e9ab43dbb19f9d26f5997798ce8f237e3c Mon Sep 17 00:00:00 2001 From: Stille Date: Fri, 17 Jun 2022 16:52:34 +0800 Subject: [PATCH] Create python 3.8 base dev image for spider --- base/python/3.8/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 base/python/3.8/Dockerfile diff --git a/base/python/3.8/Dockerfile b/base/python/3.8/Dockerfile new file mode 100644 index 0000000..63c6536 --- /dev/null +++ b/base/python/3.8/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.8 +LABEL maintainer="Stille " + +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