mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 23:38:24 +00:00
graphdriver: build tags
Enable build tags for all the graphdrivers to be excludable. As an example: ``` $ go build $ ls -l docker -rwxr-xr-x 1 vbatts vbatts 18400158 Mar 14 14:22 docker* $ go build -tags "exclude_graphdriver_aufs exclude_graphdriver_vfs exclude_graphdriver_devicemapper" $ ls -l docker -rwxr-xr-x 1 vbatts vbatts 17467068 Mar 14 14:22 docker* ``` Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// +build !exclude_graphdriver_devicemapper
|
||||
|
||||
package runtime
|
||||
|
||||
import (
|
||||
_ "github.com/dotcloud/docker/runtime/graphdriver/devmapper"
|
||||
)
|
||||
Reference in New Issue
Block a user