mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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:
parent
ccb0b0a7cc
commit
675b414f56
4 changed files with 13 additions and 40 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue