浏览代码

create debian base images

Stille 3 年之前
父节点
当前提交
0efe480d15
共有 2 个文件被更改,包括 24 次插入0 次删除
  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