2017-11-14 16:40:15 -06:00
|
|
|
# Docker image for router advertiser
|
|
|
|
|
2019-07-09 10:55:03 -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
|
|
|
|
|
2017-11-14 16:40:15 -06:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_PATH = $(DOCKERS_PATH)/docker-router-advertiser
|
2019-07-09 10:55:03 -05:00
|
|
|
|
2019-04-17 18:40:40 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DEPENDS += $(RADVD) $(REDIS_TOOLS)
|
2019-07-09 10:55:03 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE)_DBG_DEPENDS)
|
|
|
|
|
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE)_DBG_IMAGE_PACKAGES)
|
|
|
|
|
2017-11-14 16:40:15 -06:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE)
|
2019-07-09 10:55:03 -05:00
|
|
|
|
2017-11-14 16:40:15 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ROUTER_ADVERTISER)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ROUTER_ADVERTISER)
|
|
|
|
|
2019-07-09 10:55:03 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_ROUTER_ADVERTISER_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(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
|