2020-08-06 05:16:11 -05:00
|
|
|
# docker image for centec syncd
|
|
|
|
|
|
|
|
DOCKER_SYNCD_PLATFORM_CODE = centec
|
2023-02-06 11:26:35 -06:00
|
|
|
include $(PLATFORM_PATH)/../template/docker-syncd-bullseye.mk
|
2020-08-06 05:16:11 -05:00
|
|
|
|
|
|
|
$(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API)
|
|
|
|
$(DOCKER_SYNCD_CENTEC)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
|
|
|
$(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $(SYNCD_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIMETADATA_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG)
|
|
|
|
|
2021-04-26 15:51:50 -05:00
|
|
|
$(DOCKER_SYNCD_BASE)_VERSION = 1.0.0
|
|
|
|
$(DOCKER_SYNCD_BASE)_PACKAGE_NAME = syncd
|
|
|
|
|
2020-08-06 05:16:11 -05:00
|
|
|
$(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
|
|
|
$(DOCKER_SYNCD_CENTEC)_RUN_OPT += --privileged -t
|
|
|
|
$(DOCKER_SYNCD_CENTEC)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
|
|
|
$(DOCKER_SYNCD_CENTEC)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
|
|
|
|
$(DOCKER_SYNCD_CENTEC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|