Skip to content

Commit

Permalink
format dockerfile on non-chinese mode (zeromicro#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan authored and jeyrce committed Aug 25, 2021
1 parent c26b52a commit 811d0e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/goctl/docker/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 811d0e1

Please sign in to comment.