Browse Source

create python base images

Stille 3 năm trước cách đây
mục cha
commit
69ec51d19f

+ 9 - 0
base/python/3.7-alpine3.15/Dockerfile

@@ -0,0 +1,9 @@
+FROM python:3.7-alpine3.15
+LABEL maintainer="Stille <[email protected]>"
+
+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

+ 9 - 0
base/python/3.8-alpine3.15/Dockerfile

@@ -0,0 +1,9 @@
+FROM python:3.8-alpine3.15
+LABEL maintainer="Stille <[email protected]>"
+
+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

+ 9 - 0
base/python/3.9-alpine3.15/Dockerfile

@@ -0,0 +1,9 @@
+FROM python:3.9-alpine3.15
+LABEL maintainer="Stille <[email protected]>"
+
+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