195919d9d6
This introduces a PRODUCT environment variable that is used to set a constant at dockerversion.ProductName. That is then used to set BuildKit's ExportedProduct variable in order to show useful error messages to users when a certain version of the product doesn't support a BuildKit feature. Signed-off-by: Tibor Vass <tibor@docker.com>
18 lines
601 B
Go
18 lines
601 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.
|
|
// This file is overridden on build with build-time informations.
|
|
const (
|
|
GitCommit = "library-import"
|
|
Version = "library-import"
|
|
BuildTime = "library-import"
|
|
IAmStatic = "library-import"
|
|
ContainerdCommitID = "library-import"
|
|
RuncCommitID = "library-import"
|
|
InitCommitID = "library-import"
|
|
PlatformName = ""
|
|
ProductName = ""
|
|
)
|