From 4e841dfaace59ee893bb2636cabd7648c00922e8 Mon Sep 17 00:00:00 2001 From: rainerosion <1782832653@qq.com> Date: Fri, 30 Jul 2021 12:34:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'drone/Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- drone/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 drone/Dockerfile diff --git a/drone/Dockerfile b/drone/Dockerfile new file mode 100644 index 0000000..8d42fe2 --- /dev/null +++ b/drone/Dockerfile @@ -0,0 +1,8 @@ +FROM alpine:latest +ARG E5SubBotFile +ENV TIME_ZONE=Asia/Shanghai +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk add tzdata \ + && ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone +WORKDIR /root +ADD ${E5SubBotFile} /root/ +CMD [ "/root/main" ] \ No newline at end of file