From a0030b8f453a790003a71e926ab7fb19b8459d4f Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Sat, 12 Dec 2020 10:13:33 +0800 Subject: [PATCH] format dockerfile on non-chinese mode (#282) --- tools/goctl/docker/template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/goctl/docker/template.go b/tools/goctl/docker/template.go index ddd88412..d55d1356 100644 --- a/tools/goctl/docker/template.go +++ b/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 .