2021-01-10 12:39:59 -06:00
|
|
|
# docker image for macsec agent
|
|
|
|
|
|
|
|
DOCKER_MACSEC_STEM = docker-macsec
|
|
|
|
DOCKER_MACSEC = $(DOCKER_MACSEC_STEM).gz
|
|
|
|
DOCKER_MACSEC_DBG = $(DOCKER_MACSEC_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_MACSEC)_PATH = $(DOCKERS_PATH)/$(DOCKER_MACSEC_STEM)
|
|
|
|
|
|
|
|
$(DOCKER_MACSEC)_DEPENDS += $(SWSS) $(WPASUPPLICANT) $(REDIS_TOOLS) $(LIBNL3) $(LIBNL_GENL3) $(LIBNL_ROUTE3)
|
2021-11-24 19:00:14 -06:00
|
|
|
$(DOCKER_MACSEC)_DBG_DEPENDS = $($(DOCKER_SWSS_LAYER_BUSTER)_DBG_DEPENDS)
|
2021-01-10 12:39:59 -06:00
|
|
|
$(DOCKER_MACSEC)_DBG_DEPENDS += $(SWSS_DBG) $(LIBSWSSCOMMON_DBG)
|
|
|
|
$(DOCKER_MACSEC)_DBG_DEPENDS += $(WPASUPPLICANT_DBG)
|
|
|
|
|
2021-11-24 19:00:14 -06:00
|
|
|
$(DOCKER_MACSEC)_DBG_IMAGE_PACKAGES = $($(DOCKER_SWSS_LAYER_BUSTER)_DBG_IMAGE_PACKAGES)
|
2021-01-10 12:39:59 -06:00
|
|
|
|
2021-11-24 19:00:14 -06:00
|
|
|
$(DOCKER_MACSEC)_LOAD_DOCKERS += $(DOCKER_SWSS_LAYER_BUSTER)
|
2021-01-10 12:39:59 -06:00
|
|
|
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_MACSEC)
|
2021-02-23 15:22:45 -06:00
|
|
|
ifeq ($(INCLUDE_MACSEC), y)
|
2021-01-10 12:39:59 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_MACSEC)
|
2021-02-23 15:22:45 -06:00
|
|
|
endif
|
2021-01-10 12:39:59 -06:00
|
|
|
|
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_MACSEC_DBG)
|
2021-02-23 15:22:45 -06:00
|
|
|
ifeq ($(INCLUDE_MACSEC), y)
|
2021-01-10 12:39:59 -06:00
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_MACSEC_DBG)
|
2021-02-23 15:22:45 -06:00
|
|
|
endif
|
2021-01-10 12:39:59 -06:00
|
|
|
|
|
|
|
$(DOCKER_MACSEC)_CONTAINER_NAME = macsec
|
2021-04-26 15:51:50 -05:00
|
|
|
$(DOCKER_MACSEC)_VERSION = 1.0.0
|
|
|
|
$(DOCKER_MACSEC)_PACKAGE_NAME = macsec
|
2021-01-10 12:39:59 -06:00
|
|
|
$(DOCKER_MACSEC)_RUN_OPT += --privileged -t
|
|
|
|
$(DOCKER_MACSEC)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
|
|
|
$(DOCKER_MACSEC)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
|
|
|
|
|
|
|
$(DOCKER_MACSEC)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
2021-06-30 14:45:40 -05:00
|
|
|
|
|
|
|
SONIC_BUSTER_DOCKERS += $(DOCKER_MACSEC)
|
|
|
|
SONIC_BUSTER_DBG_DOCKERS += $(DOCKER_MACSEC_DBG)
|