mirror of
https://github.com/stilleshan/dockerfiles.git
synced 2025-09-26 21:01:15 +08:00
Create python 3.8 base dev image for spider
This commit is contained in:
13
base/python/3.8/Dockerfile
Normal file
13
base/python/3.8/Dockerfile
Normal 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
|
Reference in New Issue
Block a user