Remove ambient build tag
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
4f9cb13b64
commit
4f903a21c4
2
Makefile
2
Makefile
|
@ -41,7 +41,7 @@ static: $(SOURCES)
|
|||
CGO_ENABLED=1 go build -i -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION}" -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty
|
||||
|
||||
release:
|
||||
@flag_list=(seccomp selinux apparmor static ambient); \
|
||||
@flag_list=(seccomp selinux apparmor static); \
|
||||
unset expression; \
|
||||
for flag in "$${flag_list[@]}"; do \
|
||||
expression+="' '{'',$${flag}}"; \
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
// +build linux,ambient
|
||||
|
||||
package libcontainer
|
||||
|
||||
import "github.com/syndtr/gocapability/capability"
|
||||
|
||||
const allCapabilityTypes = capability.CAPS | capability.BOUNDS | capability.AMBS
|
|
@ -11,6 +11,8 @@ import (
|
|||
"github.com/syndtr/gocapability/capability"
|
||||
)
|
||||
|
||||
const allCapabilityTypes = capability.CAPS | capability.BOUNDS | capability.AMBS
|
||||
|
||||
var capabilityMap map[string]capability.Cap
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
// +build !ambient,linux
|
||||
|
||||
package libcontainer
|
||||
|
||||
import "github.com/syndtr/gocapability/capability"
|
||||
|
||||
const allCapabilityTypes = capability.CAPS | capability.BOUNDS
|
Loading…
Reference in New Issue