2.4-LTS紧急更新:alpine官方源疑似失效,增加国内源匹配能力
This commit is contained in:
+2
-1
@@ -17,7 +17,8 @@ RUN CGO_ENABLED=0 GOOS=linux go build \
|
||||
-o frpc-console .
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
# 先切换到国内镜像源,再安装包
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
RUN apk --no-cache add ca-certificates tzdata sqlite
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user