2019-04-19 20:49:21 -05:00
|
|
|
# docker image for orchagent
|
|
|
|
|
|
|
|
DOCKER_ORCHAGENT_STEM = docker-orchagent
|
|
|
|
DOCKER_ORCHAGENT = $(DOCKER_ORCHAGENT_STEM).gz
|
|
|
|
DOCKER_ORCHAGENT_DBG = $(DOCKER_ORCHAGENT_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
2020-06-27 03:17:20 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_DEPENDS += $(SWSS)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2020-07-03 16:31:31 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_DEPENDS)
|
2019-04-19 20:49:21 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_DBG_DEPENDS += $(SWSS_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
|
2020-07-03 16:31:31 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_IMAGE_PACKAGES)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT)_PATH = $(DOCKERS_PATH)/$(DOCKER_ORCHAGENT_STEM)
|
|
|
|
|
2020-07-03 16:31:31 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BUSTER)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2021-04-26 15:51:50 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_VERSION = 1.0.0
|
|
|
|
$(DOCKER_ORCHAGENT)_PACKAGE_NAME = swss
|
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ORCHAGENT)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ORCHAGENT)
|
|
|
|
|
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_ORCHAGENT_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_ORCHAGENT_DBG)
|
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT)_CONTAINER_NAME = swss
|
2020-01-26 15:56:42 -06:00
|
|
|
$(DOCKER_ORCHAGENT)_RUN_OPT += --privileged -t
|
2019-04-19 20:49:21 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_RUN_OPT += -v /etc/network/interfaces:/etc/network/interfaces:ro
|
|
|
|
$(DOCKER_ORCHAGENT)_RUN_OPT += -v /etc/network/interfaces.d/:/etc/network/interfaces.d/:ro
|
|
|
|
$(DOCKER_ORCHAGENT)_RUN_OPT += -v /host/machine.conf:/host/machine.conf:ro
|
|
|
|
$(DOCKER_ORCHAGENT)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
|
|
$(DOCKER_ORCHAGENT)_RUN_OPT += -v /var/log/swss:/var/log/swss:rw
|
|
|
|
|
2019-04-25 02:34:34 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_BASE_IMAGE_FILES += swssloglevel:/usr/bin/swssloglevel
|
2020-09-18 20:44:23 -05:00
|
|
|
$(DOCKER_ORCHAGENT)_FILES += $(ARP_UPDATE_SCRIPT) $(ARP_UPDATE_VARS_TEMPLATE) $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|