diff --git a/Dockerfile b/Dockerfile index 2610e040..641a0c1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ LABEL maintainer="aichy@sf.com" ARG GOPROXY ENV GOPROXY ${GOPROXY:-direct} +# ENV GOPROXY=https://goproxy.io,direct ENV GOPATH /go ENV GOROOT /usr/local/go diff --git a/cmd/main.go b/cmd/main.go index 9f1f2cc8..192832ad 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,6 +1,7 @@ package answercmd import ( + "fmt" "os" "time" @@ -56,6 +57,7 @@ func runApp() { constant.Version = Version constant.Revision = Revision schema.AppStartTime = time.Now() + fmt.Println("answer Version:", constant.Version, " Revision:", constant.Revision) defer cleanup() if err := app.Run(); err != nil {