*: properly compile version into docker images

This commit is contained in:
Eric Chiang
2016-10-13 17:58:40 -07:00
parent f37836490b
commit 3dac0063df
4 changed files with 16 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ func commandVersion() *cobra.Command {
Use: "version",
Short: "Print the version and exit",
Run: func(cmd *cobra.Command, args []string) {
fmt.Printf(`dex Version:%s
fmt.Printf(`dex Version: %s
Go Version: %s
Go OS/ARCH: %s %s
`, version.Version, runtime.Version(), runtime.GOOS, runtime.GOARCH)