mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
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>
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
package dockerversion // import "github.com/docker/docker/dockerversion"
|
||||
|
||||
// Default build-time variable for library-import.
|
||||
// This file is overridden on build with build-time information.
|
||||
const (
|
||||
// These variables are overridden on build with build-time information.
|
||||
var (
|
||||
GitCommit = "library-import"
|
||||
Version = "library-import"
|
||||
BuildTime = "library-import"
|
||||
|
||||
Reference in New Issue
Block a user