3a6d7be27e
The base syncd dockers follow a template, which defines the base docker as DOCKER_SYNCD_BASE instead of DOCKER_SYNCD_. Fix the docker-syncd-<mlnx, bfn>.mk to use the new one.
15 lines
694 B
Makefile
15 lines
694 B
Makefile
# docker image for mlnx saiserver
|
|
|
|
DOCKER_SAISERVER_MLNX = docker-saiserver-mlnx.gz
|
|
$(DOCKER_SAISERVER_MLNX)_PATH = $(PLATFORM_PATH)/docker-saiserver-mlnx
|
|
$(DOCKER_SAISERVER_MLNX)_DEPENDS += $(SAISERVER) $(PYTHON_SDK_API)
|
|
$(DOCKER_SAISERVER_MLNX)_PYTHON_DEBS += $(MLNX_SFPD)
|
|
$(DOCKER_SAISERVER_MLNX)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SAISERVER_MLNX)
|
|
|
|
$(DOCKER_SAISERVER_MLNX)_CONTAINER_NAME = saiserver
|
|
$(DOCKER_SAISERVER_MLNX)_RUN_OPT += --net=host --privileged -t
|
|
$(DOCKER_SAISERVER_MLNX)_RUN_OPT += -v /host/machine.conf:/etc/machine.conf
|
|
$(DOCKER_SAISERVER_MLNX)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
$(DOCKER_SYNCD_BASE)_RUN_OPT += --tmpfs /run/criu
|