cdbb3ced00
Fixes CVE-2018-15664: API endpoints behind the 'docker cp' command are vulnerable to a symlink-exchange attack with Directory Traversal, giving attackers arbitrary read-write access to the host filesystem with root privileges, because daemon/archive.go does not do archive operations on a frozen filesystem (or from within a chroot). And includes additional post-18.09.6 fixes: Builder - Fixed a panic error when building dockerfiles that contain only comments. moby/moby#38487 - Added a workaround for GCR authentication issue. moby/moby#38246 - Builder-next: Fixed a bug in the GCR token cache implementation workaround. moby/moby#39183 Runtime - Added performance optimizations in aufs and layer store that helps in massively parallel container creation and removal. moby/moby#39107, moby/moby#39135 - daemon: fixed a mirrors validation issue. moby/moby#38991 - Docker no longer supports sorting UID and GID ranges in ID maps. moby/moby#39288 Logging - Added a fix that now allows large log lines for logger plugins. moby/moby#39038 Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
32 lines
881 B
Makefile
32 lines
881 B
Makefile
################################################################################
|
|
#
|
|
# docker-cli
|
|
#
|
|
################################################################################
|
|
|
|
DOCKER_CLI_VERSION = 18.09.7
|
|
DOCKER_CLI_SITE = $(call github,docker,cli,v$(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))
|