744d33d502
* Centec x86 goldengate update (#8)
25 lines
1.1 KiB
Makefile
25 lines
1.1 KiB
Makefile
# docker image for centec syncd
|
|
|
|
DOCKER_SYNCD_CENTEC = docker-syncd-centec.gz
|
|
$(DOCKER_SYNCD_CENTEC)_PATH = $(PLATFORM_PATH)/docker-syncd-centec
|
|
$(DOCKER_SYNCD_CENTEC)_DEPENDS += $(SYNCD)
|
|
$(DOCKER_SYNCD_CENTEC)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
|
ifeq ($(INSTALL_DEBUG_TOOLS), y)
|
|
$(DOCKER_SYNCD_CENTEC)_DEPENDS += $(SYNCD_DBG) \
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
$(LIBSAIMETADATA_DBG) \
|
|
$(LIBSAIREDIS_DBG)
|
|
endif
|
|
$(DOCKER_SYNCD_CENTEC)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_CENTEC)
|
|
ifneq ($(ENABLE_SYNCD_RPC),y)
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_CENTEC)
|
|
endif
|
|
|
|
$(DOCKER_SYNCD_CENTEC)_CONTAINER_NAME = syncd
|
|
$(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
|
|
$(DOCKER_SYNCD_CENTEC)_BASE_IMAGE_FILES += monit_syncd:/etc/monit/conf.d
|