瀏覽代碼

format dockerfile on non-chinese mode (#282)

Kevin Wan 5 年之前
父節點
當前提交
a0030b8f45
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 .