mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
db99966724
This allows docker-init to not import the main docker module, which means it won't e.g. pick up any sqlite dependencies.
16 lines
177 B
Go
16 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
|
|
}
|