Explorar o código

format dockerfile on non-chinese mode (#282)

Kevin Wan %!s(int64=5) %!d(string=hai) anos
pai
achega
a0030b8f45
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tools/goctl/docker/template.go

+ 2 - 2
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 .