create python base images

This commit is contained in:
Stille 2022-02-09 23:29:21 +08:00
parent 1a1a9224fe
commit 69ec51d19f
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,9 @@
FROM python:3.7-alpine3.15
LABEL maintainer="Stille <stille@ioiox.com>"
RUN apk add --no-cache bash git curl zip
ENV TZ=Asia/Shanghai
RUN apk add --no-cache tzdata \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone

View File

@ -0,0 +1,9 @@
FROM python:3.8-alpine3.15
LABEL maintainer="Stille <stille@ioiox.com>"
RUN apk add --no-cache bash git curl zip
ENV TZ=Asia/Shanghai
RUN apk add --no-cache tzdata \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone

View File

@ -0,0 +1,9 @@
FROM python:3.9-alpine3.15
LABEL maintainer="Stille <stille@ioiox.com>"
RUN apk add --no-cache bash git curl zip
ENV TZ=Asia/Shanghai
RUN apk add --no-cache tzdata \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone