Merge pull request #4183 from dims/build-runc-with-selinux-support

Build runc with selinux support
This commit is contained in:
Michael Crosby 2020-04-14 20:40:25 -04:00 committed by GitHub
commit 9441507fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ Next, let's build `runc`:
```sh ```sh
cd /go/src/github.com/opencontainers/runc 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! When working with `ctr`, the simple test client we just built, don't forget to start the daemon!

View File

@ -26,7 +26,7 @@ function install_runc() {
go get -d github.com/opencontainers/runc go get -d github.com/opencontainers/runc
cd "$GOPATH"/src/github.com/opencontainers/runc cd "$GOPATH"/src/github.com/opencontainers/runc
git checkout $RUNC_COMMIT git checkout $RUNC_COMMIT
make BUILDTAGS='apparmor seccomp' runc install make BUILDTAGS='seccomp apparmor selinux' runc install
} }
function install_crun() { function install_crun() {