dockerversion.go 636 B

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