2021-01-25 19:43:56 -06:00
|
|
|
# Docker image for MUX
|
|
|
|
|
|
|
|
DOCKER_MUX_STEM = docker-mux
|
|
|
|
DOCKER_MUX = $(DOCKER_MUX_STEM).gz
|
|
|
|
DOCKER_MUX_DBG = $(DOCKER_MUX_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_MUX)_PATH = $(DOCKERS_PATH)/$(DOCKER_MUX_STEM)
|
|
|
|
|
2023-09-06 18:23:34 -05:00
|
|
|
$(DOCKER_MUX)_DEPENDS = $(SONIC_LINKMGRD) $(LIBSWSSCOMMON)
|
2022-04-19 11:27:45 -05:00
|
|
|
$(DOCKER_MUX)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_DEPENDS)
|
2023-09-06 18:23:34 -05:00
|
|
|
$(DOCKER_MUX)_DBG_DEPENDS += $(SONIC_LINKMGRD_DBG) $(LIBSWSSCOMMON_DBG)
|
2021-01-25 19:43:56 -06:00
|
|
|
|
2022-04-19 11:27:45 -05:00
|
|
|
$(DOCKER_MUX)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_IMAGE_PACKAGES)
|
2021-01-25 19:43:56 -06:00
|
|
|
|
2022-04-19 11:27:45 -05:00
|
|
|
$(DOCKER_MUX)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE_BULLSEYE)
|
2021-01-25 19:43:56 -06:00
|
|
|
|
2021-08-18 18:25:51 -05:00
|
|
|
$(DOCKER_MUX)_VERSION = 1.0.0
|
|
|
|
$(DOCKER_MUX)_PACKAGE_NAME = mux
|
|
|
|
$(DOCKER_MUX)_WARM_SHUTDOWN_BEFORE = swss
|
|
|
|
$(DOCKER_MUX)_FAST_SHUTDOWN_BEFORE = swss
|
|
|
|
|
2021-01-25 19:43:56 -06:00
|
|
|
ifeq ($(INCLUDE_MUX), y)
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_MUX)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_MUX)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(INCLUDE_MUX), y)
|
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_MUX_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_MUX_DBG)
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(DOCKER_MUX)_CONTAINER_NAME = mux
|
2023-10-03 17:58:17 -05:00
|
|
|
$(DOCKER_MUX)_RUN_OPT += -t
|
2021-01-25 19:43:56 -06:00
|
|
|
$(DOCKER_MUX)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2023-06-25 18:36:09 -05:00
|
|
|
$(DOCKER_MUX)_RUN_OPT += -v /etc/timezone:/etc/timezone:ro
|
2021-01-25 19:43:56 -06:00
|
|
|
$(DOCKER_MUX)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|