Dockerfile GOPROXY

This commit is contained in:
xxqfamous 2023-05-24 09:29:32 +08:00
parent 102cf582f0
commit 6ceb249c13
1 changed files with 1 additions and 0 deletions

View File

@ -6,5 +6,6 @@ RUN wget --no-check-certificate https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
ENV PATH=$PATH:/usr/local/go/bin
RUN go version
RUN go env -w GOPROXY=https://goproxy.cn
ADD ./ /gitea_hat/
RUN cd /gitea_hat/ && ls -lh && sh build.sh