2016-12-05 13:12:19 -06:00
|
|
|
# docker image for mlnx syncd
|
|
|
|
|
|
|
|
DOCKER_SYNCD_MLNX = docker-syncd-mlnx.gz
|
|
|
|
$(DOCKER_SYNCD_MLNX)_PATH = $(PLATFORM_PATH)/docker-syncd-mlnx
|
2016-12-08 12:31:02 -06:00
|
|
|
$(DOCKER_SYNCD_MLNX)_DEPENDS += $(SYNCD) $(MFT) $(PYTHON_SDK_API)
|
2016-12-05 13:12:19 -06:00
|
|
|
$(DOCKER_SYNCD_MLNX)_FILES += $(MLNX_FW)
|
|
|
|
$(DOCKER_SYNCD_MLNX)_LOAD_DOCKERS += $(DOCKER_BASE)
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
|
|
|
|
|
|
|
|
$(DOCKER_SYNCD_MLNX)_CONTAINER_NAME = syncd
|
|
|
|
$(DOCKER_SYNCD_MLNX)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_SYNCD_MLNX)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
|
|
|
$(DOCKER_SYNCD_MLNX)_RUN_OPT += --volumes-from database
|
|
|
|
$(DOCKER_SYNCD_MLNX)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|