2017-08-19 03:57:36 -05:00
|
|
|
# docker image for orchagent
|
|
|
|
|
|
|
|
DOCKER_ORCHAGENT_MRVL = docker-orchagent-mrvl.gz
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_PATH = $(DOCKERS_PATH)/docker-orchagent
|
2018-09-16 19:10:03 -05:00
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_DEPENDS += $(SWSS) $(REDIS_TOOLS) $(IPROUTE2)
|
2018-10-21 19:20:27 -05:00
|
|
|
ifeq ($(INSTALL_DEBUG_TOOLS), y)
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_DEPENDS += $(SWSS_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
endif
|
2017-08-19 03:57:36 -05:00
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_MRVL)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_MRVL)
|
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_CONTAINER_NAME = swss
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_RUN_OPT += -v /etc/network/interfaces:/etc/network/interfaces:ro
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_RUN_OPT += -v /etc/network/interfaces.d/:/etc/network/interfaces.d/:ro
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_RUN_OPT += -v /host/machine.conf:/host/machine.conf
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
|
|
|
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_BASE_IMAGE_FILES += swssloglevel:/usr/bin/swssloglevel
|
2017-11-30 16:59:25 -06:00
|
|
|
$(DOCKER_ORCHAGENT_MRVL)_FILES += $(ARP_UPDATE_SCRIPT)
|