2016-12-05 13:12:19 -06:00
|
|
|
# docker image for p4 sonic docker image
|
|
|
|
|
|
|
|
DOCKER_SONIC_P4 = docker-sonic-p4.gz
|
|
|
|
$(DOCKER_SONIC_P4)_PATH = $(PLATFORM_PATH)/docker-sonic-p4
|
2017-04-20 11:12:27 -05:00
|
|
|
$(DOCKER_SONIC_P4)_DEPENDS += $(SWSS) $(SYNCD) $(P4_SWITCH) $(REDIS_SERVER) $(REDIS_TOOLS) $(LIBTEAMDCT) $(LIBTEAM_UTILS)
|
|
|
|
|
2017-11-07 00:45:50 -06:00
|
|
|
# ifeq ($(ROUTING_STACK), quagga)
|
2017-04-20 11:12:27 -05:00
|
|
|
$(DOCKER_SONIC_P4)_DEPENDS += $(QUAGGA)
|
2017-11-07 00:45:50 -06:00
|
|
|
# else ifeq ($(ROUTING_STACK), frr)
|
|
|
|
# $(DOCKER_SONIC_P4)_DEPENDS += $(FRR)
|
|
|
|
# else
|
|
|
|
# $(DOCKER_SONIC_P4)_DEPENDS += $(GOBGP)
|
|
|
|
# endif
|
2017-04-20 11:12:27 -05:00
|
|
|
|
2016-12-05 13:12:19 -06:00
|
|
|
$(DOCKER_SONIC_P4)_LOAD_DOCKERS += $(DOCKER_BASE)
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SONIC_P4)
|