sonic-buildimage/rules/docker-swss-layer-buster.mk
Saikrishna Arcot 5f3269a61b Create a docker-swss-layer that holds the swss package.
This is to save about 40MB of disk space, since 5 containers
individually install this package.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
(cherry picked from commit bd479cad29)
2022-01-27 23:53:09 -08:00

15 lines
641 B
Makefile

# docker image for sonic swss layer
DOCKER_SWSS_LAYER_BUSTER = docker-swss-layer-buster.gz
$(DOCKER_SWSS_LAYER_BUSTER)_PATH = $(DOCKERS_PATH)/docker-swss-layer-buster
$(DOCKER_SWSS_LAYER_BUSTER)_DEPENDS += $(SWSS)
$(DOCKER_SWSS_LAYER_BUSTER)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BUSTER)
$(DOCKER_SWSS_LAYER_BUSTER)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_DEPENDS) \
$(SWSS)
$(DOCKER_SWSS_LAYER_BUSTER)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_IMAGE_PACKAGES)
SONIC_DOCKER_IMAGES += $(DOCKER_SWSS_LAYER_BUSTER)
SONIC_BUSTER_DOCKERS += $(DOCKER_SWSS_LAYER_BUSTER)