2017-03-24 20:36:56 -05:00
|
|
|
# docker image for brcm syncd with rpc
|
|
|
|
|
|
|
|
DOCKER_SYNCD_BRCM_RPC = docker-syncd-brcm-rpc.gz
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_PATH = $(PLATFORM_PATH)/docker-syncd-brcm-rpc
|
2020-03-18 13:59:39 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_DEPENDS += $(SYNCD_RPC) $(LIBTHRIFT) $(PTF)
|
2019-04-18 04:25:51 -05:00
|
|
|
ifeq ($(INSTALL_DEBUG_TOOLS), y)
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_DEPENDS += $(SYNCD_RPC_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIMETADATA_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
endif
|
2019-11-09 12:26:39 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_FILES += $(DSSERVE) $(BCMCMD) $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
2019-05-03 04:15:54 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_LOAD_DOCKERS += $(DOCKER_SYNCD_BASE)
|
2017-03-24 20:36:56 -05:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_BRCM_RPC)
|
2017-05-30 18:17:03 -05:00
|
|
|
ifeq ($(ENABLE_SYNCD_RPC),y)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_BRCM_RPC)
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_CONTAINER_NAME = syncd
|
2020-03-21 20:47:31 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += --privileged -t
|
2017-05-30 18:17:03 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
2019-08-28 13:55:27 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
2017-05-30 18:17:03 -05:00
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2019-11-20 09:41:04 -06:00
|
|
|
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
|
|
|
|
$(DOCKER_SYNCD_BRCM_RPC)_BASE_IMAGE_FILES += bcmsh:/usr/bin/bcmsh
|
|
|
|
|