2017-11-14 16:40:15 -06:00
|
|
|
# Docker image for router advertiser
|
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
DOCKER_ROUTER_ADVERTISER_STEM = docker-router-advertiser
|
|
|
|
DOCKER_ROUTER_ADVERTISER = $(DOCKER_ROUTER_ADVERTISER_STEM).gz
|
|
|
|
DOCKER_ROUTER_ADVERTISER_DBG = $(DOCKER_ROUTER_ADVERTISER_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_PATH = $(DOCKERS_PATH)/$(DOCKER_ROUTER_ADVERTISER_STEM)
|
|
|
|
|
2019-04-17 18:41:20 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DEPENDS += $(RADVD) $(REDIS_TOOLS)
|
2019-04-19 20:49:21 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_DEPENDS)
|
2019-07-04 00:13:55 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DBG_DEPENDS += $(RADVD_DBG)
|
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_IMAGE_PACKAGES)
|
|
|
|
|
2019-02-06 23:28:07 -06:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE_STRETCH)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2017-11-14 16:40:15 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ROUTER_ADVERTISER)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ROUTER_ADVERTISER)
|
2019-02-06 23:28:07 -06:00
|
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_ROUTER_ADVERTISER)
|
2017-11-14 16:40:15 -06:00
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_ROUTER_ADVERTISER_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_ROUTER_ADVERTISER_DBG)
|
|
|
|
SONIC_STRETCH_DBG_DOCKERS += $(DOCKER_ROUTER_ADVERTISER_DBG)
|
|
|
|
|
2017-11-14 16:40:15 -06:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_CONTAINER_NAME = radv
|
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|