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)
|
2017-05-25 15:18:32 -05:00
|
|
|
$(DOCKER_SYNCD_MLNX)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
2016-12-05 13:12:19 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
|
2017-05-30 18:17:03 -05:00
|
|
|
ifneq ($(ENABLE_SYNCD_RPC),y)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
|
2017-05-30 18:17:03 -05:00
|
|
|
endif
|
2017-01-29 13:33:33 -06:00
|
|
|
|
|
|
|
$(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 += -v /etc/sonic:/etc/sonic:ro
|