Skip to content

Commit ca8a67b

Browse files
committed
设置go代理
1 parent fa0198d commit ca8a67b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ FROM golang:alpine
22
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
33
RUN apk --no-cache add git
44
RUN apk --no-cache add gcc
5+
RUN go env -w GOPROXY=https://goproxy.io,direct
6+
RUN go env -w GOSUMDB=off

0 commit comments

Comments
 (0)