From 4cf21df78e22a40f1e7f429fb6a7454b58c060da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Thu, 6 Aug 2026 09:40:31 +0800 Subject: [PATCH] =?UTF-8?q?gitea=EF=BC=8Cgitea-runner=E5=86=99=E5=85=A5doc?= =?UTF-8?q?ker-compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3e0d6c6..6e07118 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ # 阶段1: 构建 FROM golang:alpine AS builder -RUN apk add --no-cache git ca-certificates tzdata +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \ + apk add --no-cache git ca-certificates tzdata ENV TZ=Asia/Shanghai RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone