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)
|
|
|
|
|
2022-04-01 18:12:43 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_DEPENDS)
|
2019-07-04 00:13:55 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DBG_DEPENDS += $(RADVD_DBG)
|
|
|
|
|
2022-04-01 18:12:43 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_IMAGE_PACKAGES)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2022-04-01 18:12:43 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE_BULLSEYE)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2021-04-26 15:51:50 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_VERSION = 1.0.0
|
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_PACKAGE_NAME = radv
|
2021-07-11 08:58:05 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_WARM_SHUTDOWN_BEFORE = swss
|
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_FAST_SHUTDOWN_BEFORE = swss
|
2021-04-26 15:51:50 -05:00
|
|
|
|
2017-11-14 16:40:15 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ROUTER_ADVERTISER)
|
2022-12-13 04:06:30 -06:00
|
|
|
ifeq ($(INCLUDE_ROUTER_ADVERTISER), y)
|
2017-11-14 16:40:15 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ROUTER_ADVERTISER)
|
2022-12-13 04:06:30 -06:00
|
|
|
endif
|
2017-11-14 16:40:15 -06:00
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_ROUTER_ADVERTISER_DBG)
|
2022-12-13 04:06:30 -06:00
|
|
|
ifeq ($(INCLUDE_ROUTER_ADVERTISER), y)
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_ROUTER_ADVERTISER_DBG)
|
2022-12-13 04:06:30 -06:00
|
|
|
endif
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2017-11-14 16:40:15 -06:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_CONTAINER_NAME = radv
|
2020-01-26 15:56:42 -06:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_RUN_OPT += --privileged -t
|
2017-11-14 16:40:15 -06:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2023-06-25 18:36:09 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_RUN_OPT += -v /etc/timezone:/etc/timezone:ro
|
2019-10-30 18:41:55 -05:00
|
|
|
$(DOCKER_ROUTER_ADVERTISER)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|