c7e5f9cfc6
Additional post-18.09.5 fixes: Builder: - Fixed COPY and ADD with multiple <src> to not invalidate cache if DOCKER_BUILDKIT=1.moby/moby#38964 Networking: - Cleaned up the cluster provider when the agent is closed. docker/libnetwork#2354 - Windows: Now selects a random host port if the user does not specify a host port. docker/libnetwork#2369 - --service-cluster-ip-range is now configurable for UCP install. docker/orca#10263 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
32 lines
881 B
Makefile
32 lines
881 B
Makefile
################################################################################
|
|
#
|
|
# docker-cli
|
|
#
|
|
################################################################################
|
|
|
|
DOCKER_CLI_VERSION = v18.09.6
|
|
DOCKER_CLI_SITE = $(call github,docker,cli,$(DOCKER_CLI_VERSION))
|
|
DOCKER_CLI_WORKSPACE = gopath
|
|
|
|
DOCKER_CLI_LICENSE = Apache-2.0
|
|
DOCKER_CLI_LICENSE_FILES = LICENSE
|
|
|
|
DOCKER_CLI_DEPENDENCIES = host-pkgconf
|
|
|
|
DOCKER_CLI_TAGS = autogen
|
|
DOCKER_CLI_BUILD_TARGETS = cmd/docker
|
|
|
|
DOCKER_CLI_LDFLAGS = \
|
|
-X github.com/docker/cli/cli.GitCommit=$(DOCKER_CLI_VERSION) \
|
|
-X github.com/docker/cli/cli.Version=$(DOCKER_CLI_VERSION)
|
|
|
|
ifeq ($(BR2_PACKAGE_DOCKER_CLI_STATIC),y)
|
|
DOCKER_CLI_LDFLAGS += -extldflags '-static'
|
|
DOCKER_CLI_TAGS += osusergo netgo
|
|
DOCKER_CLI_GO_ENV = CGO_ENABLED=no
|
|
endif
|
|
|
|
DOCKER_CLI_INSTALL_BINS = $(notdir $(DOCKER_CLI_BUILD_TARGETS))
|
|
|
|
$(eval $(golang-package))
|