From 7a252f3ca1f158203574f2c7786a28e6c0368f5e Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 13 Apr 2020 08:31:44 -0400 Subject: [PATCH] Build runc with selinux support docker-ce seems to be building runc with selinux support, let us follow the same pattern here please: https://github.com/docker/docker-ce/search?p=1&q=RUNC_BUILDTAGS&unscoped_q=RUNC_BUILDTAGS Signed-off-by: Davanum Srinivas --- BUILDING.md | 2 +- script/setup/install-runc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 9f54ae58b..5912e8f2a 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -212,7 +212,7 @@ Next, let's build `runc`: ```sh cd /go/src/github.com/opencontainers/runc -make BUILDTAGS='seccomp apparmor' && make install +make BUILDTAGS='seccomp apparmor selinux' && make install ``` When working with `ctr`, the simple test client we just built, don't forget to start the daemon! diff --git a/script/setup/install-runc b/script/setup/install-runc index 963a76b2b..c18c80291 100755 --- a/script/setup/install-runc +++ b/script/setup/install-runc @@ -26,7 +26,7 @@ function install_runc() { go get -d github.com/opencontainers/runc cd "$GOPATH"/src/github.com/opencontainers/runc git checkout $RUNC_COMMIT - make BUILDTAGS='apparmor seccomp' runc install + make BUILDTAGS='seccomp apparmor selinux' runc install } function install_crun() {