mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 09:35:26 +00:00
First commit of Shredos v2021.08.2_19_x86-64_0.32.014
This commit is contained in:
25
package/docker-cli/Config.in
Normal file
25
package/docker-cli/Config.in
Normal file
@@ -0,0 +1,25 @@
|
||||
config BR2_PACKAGE_DOCKER_CLI
|
||||
bool "docker-cli"
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Docker is a platform to build, ship,
|
||||
and run applications as lightweight containers.
|
||||
|
||||
https://github.com/docker/cli
|
||||
|
||||
if BR2_PACKAGE_DOCKER_CLI
|
||||
|
||||
config BR2_PACKAGE_DOCKER_CLI_STATIC
|
||||
bool "build static client"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Build a static docker client.
|
||||
|
||||
endif
|
||||
|
||||
comment "docker-cli needs a toolchain w/ threads"
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/docker-cli/docker-cli.hash
Normal file
3
package/docker-cli/docker-cli.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 d91010813824070dd2380013c8f343e61e6dda170f7853f024bda39b432b64ba docker-cli-20.10.9.tar.gz
|
||||
sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE
|
||||
34
package/docker-cli/docker-cli.mk
Normal file
34
package/docker-cli/docker-cli.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# docker-cli
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOCKER_CLI_VERSION = 20.10.9
|
||||
DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION))
|
||||
|
||||
DOCKER_CLI_LICENSE = Apache-2.0
|
||||
DOCKER_CLI_LICENSE_FILES = LICENSE
|
||||
|
||||
DOCKER_CLI_DEPENDENCIES = host-pkgconf
|
||||
|
||||
DOCKER_CLI_CPE_ID_VENDOR = docker
|
||||
DOCKER_CLI_CPE_ID_PRODUCT = docker
|
||||
|
||||
DOCKER_CLI_TAGS = autogen
|
||||
DOCKER_CLI_BUILD_TARGETS = cmd/docker
|
||||
DOCKER_CLI_GOMOD = github.com/docker/cli
|
||||
|
||||
DOCKER_CLI_LDFLAGS = \
|
||||
-X $(DOCKER_CLI_GOMOD)/cli/version.GitCommit=$(DOCKER_CLI_VERSION) \
|
||||
-X $(DOCKER_CLI_GOMOD)/cli/version.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))
|
||||
Reference in New Issue
Block a user