60e1fc3c98
Read all platform dependent information from sonic-config-engine
17 lines
884 B
Makefile
17 lines
884 B
Makefile
# docker image for orchagent
|
|
|
|
DOCKER_ORCHAGENT_MLNX = docker-orchagent-mlnx.gz
|
|
$(DOCKER_ORCHAGENT_MLNX)_PATH = $(DOCKERS_PATH)/docker-orchagent
|
|
$(DOCKER_ORCHAGENT_MLNX)_DEPENDS += $(SWSS) $(REDIS_TOOLS) $(SONIC_CONFIG_ENGINE)
|
|
$(DOCKER_ORCHAGENT_MLNX)_LOAD_DOCKERS += $(DOCKER_BASE)
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_ORCHAGENT_MLNX)
|
|
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 += --volumes-from database
|
|
$(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
|
|
$(DOCKER_ORCHAGENT_MLNX)_RUN_OPT += -v /host/machine.conf:/host/machine.conf
|
|
$(DOCKER_ORCHAGENT_MLNX)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|