Skip to content

Commit

Permalink
Build runc with selinux support
Browse files Browse the repository at this point in the history
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 <davanum@gmail.com>
  • Loading branch information
dims committed Apr 14, 2020
1 parent ccaf35b commit 7a252f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down
2 changes: 1 addition & 1 deletion script/setup/install-runc
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7a252f3

Please sign in to comment.