format dockerfile on non-chinese mode (#282)

master
Kevin Wan 4 years ago committed by GitHub
parent a5f0cce1b1
commit a0030b8f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,8 +14,8 @@ LABEL stage=gobuilder
ENV CGO_ENABLED 0 ENV CGO_ENABLED 0
ENV GOOS linux ENV GOOS linux
{{if .Chinese}}ENV GOPROXY https://goproxy.cn,direct{{end}} {{if .Chinese}}ENV GOPROXY https://goproxy.cn,direct
{{end}}
WORKDIR /build/zero WORKDIR /build/zero
ADD go.mod . ADD go.mod .

Loading…
Cancel
Save