[gobgp]: do not install docker-fpm-gobgp into one image (#366)
* [gobgp]: do not install docker-fpm-gobgp into one image but build docker-fpm-gobgp on different platforms
This commit is contained in:
parent
ba0f19ad54
commit
aed03d6dd5
@ -17,7 +17,8 @@ $(DSSERVE)_URL = "https://sonicstorage.blob.core.windows.net/packages/dsserve?sv
|
|||||||
|
|
||||||
SONIC_ONLINE_FILES += $(BCMCMD) $(DSSERVE)
|
SONIC_ONLINE_FILES += $(BCMCMD) $(DSSERVE)
|
||||||
|
|
||||||
SONIC_ALL += $(SONIC_ONE_IMAGE) $(SONIC_ONE_ABOOT_IMAGE)
|
SONIC_ALL += $(SONIC_ONE_IMAGE) $(SONIC_ONE_ABOOT_IMAGE) \
|
||||||
|
$(DOCKER_FPM_GOBGP)
|
||||||
|
|
||||||
# Inject brcm sai into sairedis
|
# Inject brcm sai into sairedis
|
||||||
$(LIBSAIREDIS)_DEPENDS += $(BRCM_OPENNSL) $(BRCM_SAI) $(BRCM_SAI_DEV)
|
$(LIBSAIREDIS)_DEPENDS += $(BRCM_OPENNSL) $(BRCM_SAI) $(BRCM_SAI_DEV)
|
||||||
|
@ -4,7 +4,8 @@ include $(PLATFORM_PATH)/docker-orchagent-cavm.mk
|
|||||||
include $(PLATFORM_PATH)/cavm_platform_modules.mk
|
include $(PLATFORM_PATH)/cavm_platform_modules.mk
|
||||||
include $(PLATFORM_PATH)/one-image.mk
|
include $(PLATFORM_PATH)/one-image.mk
|
||||||
|
|
||||||
SONIC_ALL += $(SONIC_ONE_IMAGE)
|
SONIC_ALL += $(SONIC_ONE_IMAGE) \
|
||||||
|
$(DOCKER_FPM_GOBGP)
|
||||||
|
|
||||||
# Inject cavium sai into sairedis
|
# Inject cavium sai into sairedis
|
||||||
$(LIBSAIREDIS)_DEPENDS += $(CAVM_SAI) $(CAVM_LIBSAI)
|
$(LIBSAIREDIS)_DEPENDS += $(CAVM_SAI) $(CAVM_LIBSAI)
|
||||||
|
@ -7,7 +7,8 @@ include $(PLATFORM_PATH)/docker-syncd-mlnx.mk
|
|||||||
include $(PLATFORM_PATH)/docker-orchagent-mlnx.mk
|
include $(PLATFORM_PATH)/docker-orchagent-mlnx.mk
|
||||||
include $(PLATFORM_PATH)/one-image.mk
|
include $(PLATFORM_PATH)/one-image.mk
|
||||||
|
|
||||||
SONIC_ALL += $(SONIC_ONE_IMAGE)
|
SONIC_ALL += $(SONIC_ONE_IMAGE) \
|
||||||
|
$(DOCKER_FPM_GOBGP)
|
||||||
|
|
||||||
# Inject mlnx sai into sairedis
|
# Inject mlnx sai into sairedis
|
||||||
$(LIBSAIREDIS)_DEPENDS += $(MLNX_SAI)
|
$(LIBSAIREDIS)_DEPENDS += $(MLNX_SAI)
|
||||||
|
@ -5,7 +5,6 @@ $(DOCKER_FPM_GOBGP)_PATH = $(DOCKERS_PATH)/docker-fpm-gobgp
|
|||||||
$(DOCKER_FPM_GOBGP)_DEPENDS += $(GOBGP)
|
$(DOCKER_FPM_GOBGP)_DEPENDS += $(GOBGP)
|
||||||
$(DOCKER_FPM_GOBGP)_LOAD_DOCKERS += $(DOCKER_FPM)
|
$(DOCKER_FPM_GOBGP)_LOAD_DOCKERS += $(DOCKER_FPM)
|
||||||
SONIC_DOCKER_IMAGES += $(DOCKER_FPM_GOBGP)
|
SONIC_DOCKER_IMAGES += $(DOCKER_FPM_GOBGP)
|
||||||
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_FPM_GOBGP)
|
|
||||||
|
|
||||||
$(DOCKER_FPM_GOBGP)_CONTAINER_NAME = bgp
|
$(DOCKER_FPM_GOBGP)_CONTAINER_NAME = bgp
|
||||||
$(DOCKER_FPM_GOBGP)_RUN_OPT += --net=host --privileged -t
|
$(DOCKER_FPM_GOBGP)_RUN_OPT += --net=host --privileged -t
|
||||||
|
Loading…
Reference in New Issue
Block a user