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