mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-26 23:13:27 +08:00
package/docker-cli: bump version to v23.0.0
Like docker-engine, docker-cli uses a non-standard vendor/ directory structure, so we use the same fixes as we introduced for docker-engine (see commit: package/docker-engine: bump version to v23.0.0): - remove the problematic vendor/modules.txt - create a go.mod Signed-off-by: Christian Stewart <christian@paral.in> [yann.morin.1998@free.fr: - use post-extract hook - simplify commit message to refer to docker-engine ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
9ae48b70ae
commit
d5599cb1b4
@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 84d71ac2b508b54e8df9f3ea425aa33e254fd3645fe9bad5619b98eaffb33408 docker-cli-20.10.22.tar.gz
|
||||
sha256 3379d06cd6177832b91f4796c680b6bf15c7895773448716b4c3c5253f611d1b docker-cli-23.0.0.tar.gz
|
||||
sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOCKER_CLI_VERSION = 20.10.22
|
||||
DOCKER_CLI_VERSION = 23.0.0
|
||||
DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION))
|
||||
|
||||
DOCKER_CLI_LICENSE = Apache-2.0
|
||||
@ -29,6 +29,15 @@ DOCKER_CLI_TAGS += osusergo netgo
|
||||
DOCKER_CLI_GO_ENV = CGO_ENABLED=no
|
||||
endif
|
||||
|
||||
# create the go.mod file with language version go1.19
|
||||
# remove the conflicting vendor/modules.txt
|
||||
# https://github.com/moby/moby/issues/44618#issuecomment-1343565705
|
||||
define DOCKER_CLI_FIX_VENDORING
|
||||
printf "module $(DOCKER_CLI_GOMOD)\n\ngo 1.19\n" > $(@D)/go.mod
|
||||
rm -f $(@D)/vendor/modules.txt
|
||||
endef
|
||||
DOCKER_CLI_POST_EXTRACT_HOOKS += DOCKER_CLI_FIX_VENDORING
|
||||
|
||||
DOCKER_CLI_INSTALL_BINS = $(notdir $(DOCKER_CLI_BUILD_TARGETS))
|
||||
|
||||
$(eval $(golang-package))
|
||||
|
Loading…
Reference in New Issue
Block a user