Skip to content

Commit e600531

Browse files
author
Daniel Hiltgen
committed
Expose the platform string for community builds
This encodes the platform as "Docker Engine - Community" for community engines Signed-off-by: Daniel Hiltgen <[email protected]> (cherry picked from commit 4d9fd7d) Signed-off-by: Daniel Hiltgen <[email protected]>
1 parent 0a4ee11 commit e600531

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ ARCH=$(shell uname -m)
77
STATIC_VERSION=$(shell static/gen-static-ver $(ENGINE_DIR) $(VERSION))
88
GO_VERSION:=1.10.3
99
DEFAULT_PRODUCT_LICENSE:=Community Engine
10+
PLATFORM=Docker Engine - Community
1011
export DEFAULT_PRODUCT_LICENSE
12+
export PLATFORM
1113

1214
# Taken from: https://www.cmcrossroads.com/article/printing-value-makefile-variable
1315
print-% : ; @echo $($*)

0 commit comments

Comments
 (0)