Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

update goproxy

aichy1266531cf9e6c09
diff --git a/Dockerfile b/Dockerfile
index 641a0c1a..6181a0ec 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,8 +11,8 @@ FROM golang:1.19-alpine AS golang-builder
LABEL maintainer="[email protected]"
ARG GOPROXY
-ENV GOPROXY ${GOPROXY:-direct}
-# ENV GOPROXY=https://goproxy.io,direct
+# ENV GOPROXY ${GOPROXY:-direct}
+ENV GOPROXY=https://goproxy.io,direct
ENV GOPATH /go
ENV GOROOT /usr/local/go