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