2018-03-04 01:43:42 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# docker-proxy
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-09-20 08:09:58 +02:00
|
|
|
DOCKER_PROXY_VERSION = 55685ba49593e67f5e1c8180539379b16736c25e
|
2018-03-04 01:43:42 +01:00
|
|
|
DOCKER_PROXY_SITE = $(call github,docker,libnetwork,$(DOCKER_PROXY_VERSION))
|
|
|
|
|
|
|
|
DOCKER_PROXY_LICENSE = Apache-2.0
|
|
|
|
DOCKER_PROXY_LICENSE_FILES = LICENSE
|
|
|
|
|
2018-03-31 15:27:36 +02:00
|
|
|
DOCKER_PROXY_DEPENDENCIES = host-pkgconf
|
2018-03-04 01:43:42 +01:00
|
|
|
|
2018-03-31 15:27:36 +02:00
|
|
|
DOCKER_PROXY_WORKSPACE = gopath
|
2018-03-04 01:43:42 +01:00
|
|
|
|
2018-03-31 15:27:36 +02:00
|
|
|
DOCKER_PROXY_BUILD_TARGETS = cmd/proxy
|
2018-03-04 01:43:42 +01:00
|
|
|
|
|
|
|
define DOCKER_PROXY_INSTALL_TARGET_CMDS
|
2018-04-01 13:51:36 +02:00
|
|
|
$(INSTALL) -D -m 0755 $(@D)/bin/proxy $(TARGET_DIR)/usr/bin/docker-proxy
|
2018-03-04 01:43:42 +01:00
|
|
|
endef
|
|
|
|
|
2018-03-31 15:27:36 +02:00
|
|
|
$(eval $(golang-package))
|