diff --git a/tools/goctl/docker/template.go b/tools/goctl/docker/template.go index ddd88412..d55d1356 100644 --- a/tools/goctl/docker/template.go +++ b/tools/goctl/docker/template.go @@ -14,8 +14,8 @@ LABEL stage=gobuilder ENV CGO_ENABLED 0 ENV GOOS linux -{{if .Chinese}}ENV GOPROXY https://goproxy.cn,direct{{end}} - +{{if .Chinese}}ENV GOPROXY https://goproxy.cn,direct +{{end}} WORKDIR /build/zero ADD go.mod .