Dockerfile GOPROXY
This commit is contained in:
parent
102cf582f0
commit
6ceb249c13
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue