From a5468852f8123ada3757db9b608cd6648285d835 Mon Sep 17 00:00:00 2001 From: Kazuyoshi Kato Date: Mon, 9 Aug 2021 16:31:13 -0700 Subject: [PATCH] docs: list all snapshotter-related build flags We can disable most of snapshotters, but they are not documented. Signed-off-by: Kazuyoshi Kato --- BUILDING.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 8b619ff2b..e275f1078 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -117,10 +117,13 @@ make generate ``` > *Note*: Several build tags are currently available: -> * `no_btrfs`: A build tag disables building the btrfs snapshot driver. > * `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. +> * snapshotters (alphabetical order) +> * `no_aufs`: A build tag disables building the aufs snapshot driver. +> * `no_btrfs`: A build tag disables building the Btrfs snapshot driver. +> * `no_devmapper`: A build tag disables building the device mapper snapshot driver. +> * `no_zfs`: A build tag disables building the ZFS snapshot driver. > > 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.