2016-12-30 15:34:38 -06:00
|
|
|
# docker image for teamd agent
|
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
DOCKER_TEAMD_STEM = docker-teamd
|
|
|
|
DOCKER_TEAMD = $(DOCKER_TEAMD_STEM).gz
|
|
|
|
DOCKER_TEAMD_DBG = $(DOCKER_TEAMD_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_TEAMD)_PATH = $(DOCKERS_PATH)/$(DOCKER_TEAMD_STEM)
|
|
|
|
|
2020-06-27 03:17:20 -05:00
|
|
|
$(DOCKER_TEAMD)_DEPENDS += $(SWSS) $(LIBTEAMDCTL) $(LIBTEAM_UTILS)
|
2021-11-24 19:00:14 -06:00
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS = $($(DOCKER_SWSS_LAYER_BUSTER)_DBG_DEPENDS)
|
2019-04-19 20:49:21 -05:00
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS += $(SWSS_DBG) $(LIBSWSSCOMMON_DBG)
|
2020-06-24 16:07:22 -05:00
|
|
|
$(DOCKER_TEAMD)_DBG_DEPENDS += $(LIBTEAMDCTL_DBG) $(LIBTEAM_UTILS_DBG)
|
2019-07-04 00:13:55 -05:00
|
|
|
|
2021-11-24 19:00:14 -06:00
|
|
|
$(DOCKER_TEAMD)_DBG_IMAGE_PACKAGES = $($(DOCKER_SWSS_LAYER_BUSTER)_DBG_IMAGE_PACKAGES)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2021-11-24 19:00:14 -06:00
|
|
|
$(DOCKER_TEAMD)_LOAD_DOCKERS += $(DOCKER_SWSS_LAYER_BUSTER)
|
2019-04-19 20:49:21 -05:00
|
|
|
|
2016-12-30 15:34:38 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_TEAMD)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_TEAMD)
|
|
|
|
|
2019-04-19 20:49:21 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_TEAMD_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_TEAMD_DBG)
|
|
|
|
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_TEAMD)_CONTAINER_NAME = teamd
|
2020-01-26 15:56:42 -06:00
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += --privileged -t
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2018-11-09 18:14:03 -06:00
|
|
|
$(DOCKER_TEAMD)_RUN_OPT += -v /host/warmboot:/var/warmboot
|
2017-03-06 14:22:42 -06:00
|
|
|
|
|
|
|
$(DOCKER_TEAMD)_BASE_IMAGE_FILES += teamdctl:/usr/bin/teamdctl
|
2019-11-04 19:45:41 -06:00
|
|
|
$(DOCKER_TEAMD)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|