2016-12-08 09:07:54 -06:00
|
|
|
# docker image for orchagent
|
|
|
|
|
|
|
|
DOCKER_ORCHAGENT_MLNX = docker-orchagent-mlnx.gz
|
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_PATH = $(DOCKERS_PATH)/docker-orchagent
|
2019-03-30 13:57:25 -05:00
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_DEPENDS += $(SWSS) $(REDIS_TOOLS)
|
2018-10-21 19:20:27 -05:00
|
|
|
ifeq ($(INSTALL_DEBUG_TOOLS), y)
|
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_DEPENDS += $(SWSS_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
endif
|
2019-03-30 13:57:25 -05:00
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
2016-12-08 09:07:54 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_MLNX)
|
2019-03-30 13:57:25 -05:00
|
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_ORCHAGENT_MLNX)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_MLNX)
|
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_CONTAINER_NAME = swss
|
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_RUN_OPT += -v /etc/network/interfaces:/etc/network/interfaces:ro
|
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_RUN_OPT += -v /etc/network/interfaces.d/:/etc/network/interfaces.d/:ro
|
2017-05-26 19:56:29 -05:00
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_RUN_OPT += -v /host/machine.conf:/host/machine.conf:ro
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2017-05-27 18:05:21 -05:00
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_RUN_OPT += -v /var/log/swss:/var/log/swss:rw
|
2017-03-08 01:00:58 -06:00
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_BASE_IMAGE_FILES += swssloglevel:/usr/bin/swssloglevel
|
2017-11-30 16:59:25 -06:00
|
|
|
$(DOCKER_ORCHAGENT_MLNX)_FILES += $(ARP_UPDATE_SCRIPT)
|