Browse Source

create debian base images

Stille 3 years ago
parent
commit
0efe480d15
2 changed files with 24 additions and 0 deletions
  1. 12 0
      base/debian/stable-slim/Dockerfile
  2. 12 0
      base/debian/stable/Dockerfile

+ 12 - 0
base/debian/stable-slim/Dockerfile

@@ -0,0 +1,12 @@
+FROM debian:stable-slim
+LABEL maintainer="Stille <[email protected]>"
+
+RUN apt-get update
+RUN apt-get install -y wget curl zip git
+
+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

+ 12 - 0
base/debian/stable/Dockerfile

@@ -0,0 +1,12 @@
+FROM debian:stable
+LABEL maintainer="Stille <[email protected]>"
+
+RUN apt-get update
+RUN apt-get install -y wget curl zip git
+
+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