mirror of
https://github.com/docker/cli.git
synced 2026-09-25 07:50:37 -05:00
api: generalize version information to any platform component
This change adds a Platform struct with a Name field and a general Components field to the Version API type. This will allow API consumers to show version information for the whole platform and it will allow API providers to set the versions for the various components of the platform. All changes here are backwards compatible. Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: 9152e63290e4a4e586b811cce39082efc649b912 Component: engine
This commit is contained in:
@@ -53,7 +53,8 @@ DOCKER_ENVS := \
|
||||
-e http_proxy \
|
||||
-e https_proxy \
|
||||
-e no_proxy \
|
||||
-e VERSION
|
||||
-e VERSION \
|
||||
-e PLATFORM
|
||||
# note: we _cannot_ add "-e DOCKER_BUILDTAGS" here because even if it's unset in the shell, that would shadow the "ENV DOCKER_BUILDTAGS" set in our Dockerfile, which is very important for our official builds
|
||||
|
||||
# to allow `make BIND_DIR=. shell` or `make BIND_DIR= test`
|
||||
|
||||
Reference in New Issue
Block a user