From c1a218195dc0eb6861b0b16db37eb499b1bd7c8c Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Thu, 26 Mar 2020 17:04:04 -0700 Subject: [PATCH] Add docs for build tags used by cri. Since CRI is compiled in with containerd, builders should be aware that these buildtags are available. Signed-off-by: Brian Goff --- BUILDING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILDING.md b/BUILDING.md index 7e13d97aa..9f54ae58b 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -107,6 +107,9 @@ make generate > * `no_cri`: A build tag disables building Kubernetes [CRI](http://blog.kubernetes.io/2016/12/container-runtime-interface-cri-in-kubernetes.html) support into containerd. > See [here](https://github.com/containerd/cri-containerd#build-tags) for build tags of CRI plugin. > * `no_devmapper`: A build tag disables building the device mapper snapshot driver. +> * `seccomp`: Enables seccomp support in the cri plugin +> * `apparmor`: Enables apparmor support in the cri plugin +> * `selinux`: Enables selinux support in the cri plugin > > For example, adding `BUILDTAGS=no_btrfs` to your environment before calling the **binaries** > Makefile target will disable the btrfs driver within the containerd Go build.