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
|
2019-02-05 00:06:37 -06:00
|
|
|
$(DOCKER_SYNCD_MLNX)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API)
|
|
|
|
$(DOCKER_SYNCD_MLNX)_PYTHON_DEBS += $(MLNX_SFPD)
|
2019-03-12 23:38:25 -05:00
|
|
|
$(DOCKER_SYNCD_MLNX)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
2016-12-05 13:12:19 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
|
2019-03-19 11:16:33 -05:00
|
|
|
SONIC_STRETCH_DOCKERS += $(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
|
2018-12-04 12:11:24 -06:00
|
|
|
$(DOCKER_SYNCD_MLNX)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
2019-01-17 16:41:32 -06:00
|
|
|
|