mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
19
package/docker-proxy/Config.in
Normal file
19
package/docker-proxy/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_DOCKER_PROXY
|
||||
bool "docker-proxy"
|
||||
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
|
||||
Libnetwork is a Container Network Model that provides a
|
||||
consistent programming interface and the required network
|
||||
abstractions for applications.
|
||||
|
||||
This package provides docker-proxy, a run-time dependency of
|
||||
Docker.
|
||||
|
||||
https://github.com/docker/libnetwork
|
||||
|
||||
comment "docker-proxy 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
|
||||
2
package/docker-proxy/docker-proxy.hash
Normal file
2
package/docker-proxy/docker-proxy.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 2eee331b6ded567a36e7db708405b34032b93938682cf049025f48b96d755bf6 docker-proxy-7b2b1feb1de4817d522cc372af149ff48d25028e.tar.gz
|
||||
23
package/docker-proxy/docker-proxy.mk
Normal file
23
package/docker-proxy/docker-proxy.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# docker-proxy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOCKER_PROXY_VERSION = 7b2b1feb1de4817d522cc372af149ff48d25028e
|
||||
DOCKER_PROXY_SITE = $(call github,docker,libnetwork,$(DOCKER_PROXY_VERSION))
|
||||
|
||||
DOCKER_PROXY_LICENSE = Apache-2.0
|
||||
DOCKER_PROXY_LICENSE_FILES = LICENSE
|
||||
|
||||
DOCKER_PROXY_DEPENDENCIES = host-pkgconf
|
||||
|
||||
DOCKER_PROXY_WORKSPACE = gopath
|
||||
|
||||
DOCKER_PROXY_BUILD_TARGETS = cmd/proxy
|
||||
|
||||
define DOCKER_PROXY_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/bin/proxy $(TARGET_DIR)/usr/bin/docker-proxy
|
||||
endef
|
||||
|
||||
$(eval $(golang-package))
|
||||
Reference in New Issue
Block a user