This allows docker-init to not import the main docker module, which means it won't e.g. pick up any sqlite dependencies. Upstream-commit: db999667245926569b161747eed7e08b2ec1c34c Component: engine
17 lines
177 B
Go
17 lines
177 B
Go
package main
|
|
|
|
import (
|
|
"github.com/dotcloud/docker/sysinit"
|
|
)
|
|
|
|
var (
|
|
GITCOMMIT string
|
|
VERSION string
|
|
)
|
|
|
|
func main() {
|
|
// Running in init mode
|
|
sysinit.SysInit()
|
|
return
|
|
}
|