runc: add libselinux, update buildtags
This commit is contained in:
parent
e142fbb3f7
commit
b57ae98864
@ -8,6 +8,7 @@
|
|||||||
, libapparmor
|
, libapparmor
|
||||||
, apparmor-parser
|
, apparmor-parser
|
||||||
, libseccomp
|
, libseccomp
|
||||||
|
, libselinux
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
@ -25,9 +26,11 @@ buildGoPackage rec {
|
|||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ go-md2man installShellFiles pkg-config which ];
|
nativeBuildInputs = [ go-md2man installShellFiles pkg-config which ];
|
||||||
buildInputs = [ libseccomp libapparmor apparmor-parser ];
|
|
||||||
|
|
||||||
makeFlags = [ "BUILDTAGS+=seccomp" "BUILDTAGS+=apparmor" ];
|
buildInputs = [ libselinux libseccomp libapparmor apparmor-parser ];
|
||||||
|
|
||||||
|
# these will be the default in the next release
|
||||||
|
makeFlags = [ "BUILDTAGS+=seccomp" "BUILDTAGS+=apparmor" "BUILDTAGS+=selinux" ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd go/src/${goPackagePath}
|
cd go/src/${goPackagePath}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user