2016-12-14 13:59:24 -06:00
|
|
|
# docker image for brcm syncd
|
|
|
|
|
|
|
|
DOCKER_SYNCD_BRCM = docker-syncd-brcm.gz
|
|
|
|
$(DOCKER_SYNCD_BRCM)_PATH = $(PLATFORM_PATH)/docker-syncd-brcm
|
|
|
|
$(DOCKER_SYNCD_BRCM)_DEPENDS += $(SYNCD)
|
2016-12-25 02:44:06 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM)_FILES += $(DSSERVE) $(BCMCMD)
|
2016-12-14 13:59:24 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM)_LOAD_DOCKERS += $(DOCKER_BASE)
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_BRCM)
|
2017-02-01 02:09:02 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_BRCM)
|
|
|
|
|
|
|
|
$(DOCKER_SYNCD_BRCM)_CONTAINER_NAME = syncd
|
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
2017-02-10 09:39:05 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
|
2017-02-01 02:09:02 -06:00
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += --volumes-from database
|
|
|
|
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2017-03-06 14:22:42 -06:00
|
|
|
|
|
|
|
$(DOCKER_SYNCD_BRCM)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
|
|
|
|
|