Fix cross compile non cgo and linux systems
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael) Upstream-commit: 7a8ea91392e0cc97caf2a6edc3b262b33a5b446d Component: engine
This commit is contained in:
13
components/engine/daemon/utils_linux.go
Normal file
13
components/engine/daemon/utils_linux.go
Normal file
@ -0,0 +1,13 @@
|
||||
// +build linux
|
||||
|
||||
package daemon
|
||||
|
||||
import "github.com/docker/libcontainer/selinux"
|
||||
|
||||
func selinuxSetDisabled() {
|
||||
selinux.SetDisabled()
|
||||
}
|
||||
|
||||
func selinuxFreeLxcContexts(label string) {
|
||||
selinux.FreeLxcContexts(label)
|
||||
}
|
||||
Reference in New Issue
Block a user