moby/dockerversion/version_lib.go
Brian Goff 675b414f56 Use -X ldflags to set dockerversion package vars
This eliminates the need to lay down an auto-generated file.
IIRC this was originally hadded for gccgo which we no longer support.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2019-12-02 10:21:41 -08:00

17 lines
576 B
Go

// +build !autogen
// Package dockerversion is auto-generated at build-time
package dockerversion // import "github.com/docker/docker/dockerversion"
// Default build-time variable for library-import.
// These variables are overridden on build with build-time information.
var (
GitCommit = "library-import"
Version = "library-import"
BuildTime = "library-import"
IAmStatic = "library-import"
InitCommitID = "library-import"
PlatformName = ""
ProductName = ""
DefaultProductLicense = ""
)