2018-11-21 00:32:40 -06:00
|
|
|
# docker image for orchagent
|
|
|
|
|
|
|
|
DOCKER_ORCHAGENT_VS = docker-orchagent-vs.gz
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_PATH = $(DOCKERS_PATH)/docker-orchagent
|
2019-03-30 13:57:25 -05:00
|
|
|
$(DOCKER_ORCHAGENT_VS)_DEPENDS += $(SWSS) $(REDIS_TOOLS)
|
2018-11-21 00:32:40 -06:00
|
|
|
ifeq ($(INSTALL_DEBUG_TOOLS), y)
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_DEPENDS += $(SWSS_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
endif
|
2019-03-30 13:57:25 -05:00
|
|
|
$(DOCKER_ORCHAGENT_VS)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
2018-11-21 00:32:40 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_VS)
|
2019-03-30 13:57:25 -05:00
|
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_ORCHAGENT_VS)
|
2018-11-21 00:32:40 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_VS)
|
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_CONTAINER_NAME = swss
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_RUN_OPT += -v /etc/network/interfaces:/etc/network/interfaces:ro
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_RUN_OPT += -v /etc/network/interfaces.d/:/etc/network/interfaces.d/:ro
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_RUN_OPT += -v /host/machine.conf:/host/machine.conf:ro
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_RUN_OPT += -v /var/log/swss:/var/log/swss:rw
|
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_BASE_IMAGE_FILES += swssloglevel:/usr/bin/swssloglevel
|
|
|
|
$(DOCKER_ORCHAGENT_VS)_FILES += $(ARP_UPDATE_SCRIPT)
|