Add DOCKER_EXPERIMENTAL environment variable

The DOCKER_EXPERIMENTAL environment variable drives the activation of
the 'experimental' build tag.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Upstream-commit: ca6722f1c5e4e2017a71e33579d91ac0d9ea2a25
Component: engine
This commit is contained in:
Arnaud Porterie
2015-05-20 12:21:17 -07:00
parent 249d122d71
commit 045dd55a7d
9 changed files with 30 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
// +build experimental
package utils
func ExperimentalBuild() bool {
return true
}
+7
View File
@@ -0,0 +1,7 @@
// +build !experimental
package utils
func ExperimentalBuild() bool {
return false
}