正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -17,6 +17,7 @@ RUN GOOS=linux CGO_ENABLED=0 go build -ldflags="-s -w" -installsuffix cgo -o opp | @@ -17,6 +17,7 @@ RUN GOOS=linux CGO_ENABLED=0 go build -ldflags="-s -w" -installsuffix cgo -o opp | ||
17 | 17 | ||
18 | #FROM scratch | 18 | #FROM scratch |
19 | FROM alpine:latest | 19 | FROM alpine:latest |
20 | +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories | ||
20 | RUN apk add --no-cache tzdata \ | 21 | RUN apk add --no-cache tzdata \ |
21 | && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ | 22 | && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ |
22 | && echo "Asia/Shanghai" > /etc/timezone \ | 23 | && echo "Asia/Shanghai" > /etc/timezone \ |
-
请 注册 或 登录 后发表评论