2017-10-24 00:01:42 -05:00
|
|
|
# docker image for virtual switch based sonic docker image
|
|
|
|
|
|
|
|
DOCKER_SONIC_VS = docker-sonic-vs.gz
|
|
|
|
$(DOCKER_SONIC_VS)_PATH = $(PLATFORM_PATH)/docker-sonic-vs
|
2017-11-30 16:59:25 -06:00
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(SWSS) \
|
|
|
|
$(SYNCD_VS) \
|
|
|
|
$(REDIS_TOOLS) \
|
2018-05-02 13:46:21 -05:00
|
|
|
$(REDIS_SERVER) \
|
2017-11-30 16:59:25 -06:00
|
|
|
$(PYTHON_SWSSCOMMON) \
|
|
|
|
$(LIBTEAMDCT) \
|
|
|
|
$(LIBTEAM_UTILS) \
|
2019-05-06 09:19:36 -05:00
|
|
|
$(SONIC_DEVICE_DATA)
|
2017-10-24 00:01:42 -05:00
|
|
|
|
2019-02-05 00:06:37 -06:00
|
|
|
$(DOCKER_SONIC_VS)_PYTHON_DEBS += $(SONIC_UTILS)
|
|
|
|
|
2020-08-03 13:50:06 -05:00
|
|
|
$(DOCKER_SONIC_VS)_PYTHON_WHEELS += $(SWSSSDK_PY2) \
|
|
|
|
$(SONIC_PY_COMMON_PY2)
|
|
|
|
|
2018-10-21 19:20:27 -05:00
|
|
|
ifeq ($(INSTALL_DEBUG_TOOLS), y)
|
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(SWSS_DBG) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBSAIREDIS_DBG) \
|
2018-10-22 23:17:08 -05:00
|
|
|
$(LIBSAIVS_DBG) \
|
2018-10-21 19:20:27 -05:00
|
|
|
$(SYNCD_VS_DBG)
|
|
|
|
endif
|
|
|
|
|
2017-10-24 00:01:42 -05:00
|
|
|
ifeq ($(SONIC_ROUTING_STACK), quagga)
|
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(QUAGGA)
|
|
|
|
else ifeq ($(SONIC_ROUTING_STACK), frr)
|
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(FRR)
|
|
|
|
else
|
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(GOBGP)
|
|
|
|
endif
|
|
|
|
|
2017-11-30 16:59:25 -06:00
|
|
|
$(DOCKER_SONIC_VS)_FILES += $(CONFIGDB_LOAD_SCRIPT) \
|
2018-11-21 00:32:40 -06:00
|
|
|
$(ARP_UPDATE_SCRIPT) \
|
2020-09-18 20:44:23 -05:00
|
|
|
$(ARP_UPDATE_VARS_TEMPLATE) \
|
2019-01-30 04:04:20 -06:00
|
|
|
$(BUFFERS_CONFIG_TEMPLATE) \
|
2019-02-01 13:18:02 -06:00
|
|
|
$(QOS_CONFIG_TEMPLATE) \
|
2018-11-21 00:32:40 -06:00
|
|
|
$(SONIC_VERSION)
|
2017-11-30 16:59:25 -06:00
|
|
|
|
2019-05-06 09:19:36 -05:00
|
|
|
$(DOCKER_SONIC_VS)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
2017-10-24 00:01:42 -05:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SONIC_VS)
|
2019-05-06 09:19:36 -05:00
|
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_SONIC_VS)
|