mirror of
https://github.com/docker/docs.git
synced 2026-03-30 15:58:53 +07:00
btrfs: build tags
Default to the same build behavior, but allow a go build tag to disable building of the btrfs graphdriver go build -tags no_btrfs' ... $ go build $ objdump -S docker | grep btrfs | wc -l 194 $ go build -tags no_btrfs $ objdump -S docker | grep btrfs | wc -l 1 # that is a comment ;-) Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
@@ -16,7 +16,6 @@ import (
|
||||
"github.com/dotcloud/docker/runtime/execdriver/execdrivers"
|
||||
"github.com/dotcloud/docker/runtime/execdriver/lxc"
|
||||
"github.com/dotcloud/docker/runtime/graphdriver"
|
||||
_ "github.com/dotcloud/docker/runtime/graphdriver/btrfs"
|
||||
_ "github.com/dotcloud/docker/runtime/graphdriver/vfs"
|
||||
_ "github.com/dotcloud/docker/runtime/networkdriver/lxc"
|
||||
"github.com/dotcloud/docker/runtime/networkdriver/portallocator"
|
||||
|
||||
7
runtime/runtime_btfs.go
Normal file
7
runtime/runtime_btfs.go
Normal file
@@ -0,0 +1,7 @@
|
||||
// +build !no_btrfs
|
||||
|
||||
package runtime
|
||||
|
||||
import (
|
||||
_ "github.com/dotcloud/docker/runtime/graphdriver/btrfs"
|
||||
)
|
||||
Reference in New Issue
Block a user