format dockerfile on non-chinese mode (#282)
This commit is contained in:
@@ -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 .
|
||||||
|
|||||||
Reference in New Issue
Block a user