64f5b98caa
Why I did it Fix docker-syncd-centec-rpc build fail. Detail fail log can be derived from https://dev.azure.com/mssonic/be1b070f-be15-4154-aade-b1d3bfb17054/_apis/build/builds/71157/logs/9. How I did it Merge PR #9612 from master branch. How to verify it make ENABLE_SYNCD_RPC=y target/docker-syncd-centec-rpc.gz make ENABLE_SYNCD_RPC=y target/docker-saiserver-centec.gz
17 lines
800 B
Makefile
Executable File
17 lines
800 B
Makefile
Executable File
# docker image for centec saiserver
|
|
|
|
DOCKER_SAISERVER_CENTEC = docker-saiserver-centec.gz
|
|
$(DOCKER_SAISERVER_CENTEC)_PATH = $(PLATFORM_PATH)/docker-saiserver-centec
|
|
$(DOCKER_SAISERVER_CENTEC)_DEPENDS += $(SAISERVER)
|
|
$(DOCKER_SAISERVER_CENTEC)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BUSTER)
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SAISERVER_CENTEC)
|
|
|
|
$(DOCKER_SAISERVER_CENTEC)_CONTAINER_NAME = saiserver
|
|
$(DOCKER_SAISERVER_CENTEC)_RUN_OPT += --privileged -t
|
|
$(DOCKER_SAISERVER_CENTEC)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
|
$(DOCKER_SAISERVER_CENTEC)_RUN_OPT += -v /var/run/docker-saiserver:/var/run/sswsyncd
|
|
$(DOCKER_SAISERVER_CENTEC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
$(DOCKER_SAISERVER_CENTEC)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
|
|
|
SONIC_BUSTER_DOCKERS += $(DOCKER_SAISERVER_CENTEC)
|