github.com/feiyang21687/docker@v1.5.0/dockerversion/dockerversion.go (about)

     1  package dockerversion
     2  
     3  // FIXME: this should be embedded in the docker/docker.go,
     4  // but we can't because distro policy requires us to
     5  // package a separate dockerinit binary, and that binary needs
     6  // to know its version too.
     7  
     8  var (
     9  	GITCOMMIT string
    10  	VERSION   string
    11  
    12  	IAMSTATIC string // whether or not Docker itself was compiled statically via ./hack/make.sh binary ("true" or not "true")
    13  	INITSHA1  string // sha1sum of separate static dockerinit, if Docker itself was compiled dynamically via ./hack/make.sh dynbinary
    14  	INITPATH  string // custom location to search for a valid dockerinit binary (available for packagers as a last resort escape hatch)
    15  )