Преглед изворни кода

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 .